ClassesClasses | | Operators

serialize_surface_modelT_serialize_surface_modelSerializeSurfaceModelSerializeSurfaceModel (Operator)

Name

serialize_surface_modelT_serialize_surface_modelSerializeSurfaceModelSerializeSurfaceModel — Serialize a surface_model.

Signature

serialize_surface_model( : : SurfaceModelID : SerializedItemHandle)

Herror T_serialize_surface_model(const Htuple SurfaceModelID, Htuple* SerializedItemHandle)

void SerializeSurfaceModel(const HTuple& SurfaceModelID, HTuple* SerializedItemHandle)

HSerializedItem HSurfaceModel::SerializeSurfaceModel() const

static void HOperatorSet.SerializeSurfaceModel(HTuple surfaceModelID, out HTuple serializedItemHandle)

HSerializedItem HSurfaceModel.SerializeSurfaceModel()

Description

serialize_surface_modelserialize_surface_modelSerializeSurfaceModelSerializeSurfaceModelSerializeSurfaceModel serializes the data of a surface model (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem for an introduction of the basic principle of serialization). The same data that is written in a file by write_surface_modelwrite_surface_modelWriteSurfaceModelWriteSurfaceModelWriteSurfaceModel is converted to a serialized item. The surface model is defined by the handle SurfaceModelIDSurfaceModelIDSurfaceModelIDSurfaceModelIDsurfaceModelID. The serialized surface model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_surface_modeldeserialize_surface_modelDeserializeSurfaceModelDeserializeSurfaceModelDeserializeSurfaceModel.

Execution Information

Parameters

SurfaceModelIDSurfaceModelIDSurfaceModelIDSurfaceModelIDsurfaceModelID (input_control)  surface_model HSurfaceModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the surface model.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (output_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

Result

If the parameters are valid, the operator serialize_surface_modelserialize_surface_modelSerializeSurfaceModelSerializeSurfaceModelSerializeSurfaceModel returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

read_surface_modelread_surface_modelReadSurfaceModelReadSurfaceModelReadSurfaceModel, create_surface_modelcreate_surface_modelCreateSurfaceModelCreateSurfaceModelCreateSurfaceModel, get_surface_model_paramget_surface_model_paramGetSurfaceModelParamGetSurfaceModelParamGetSurfaceModelParam

Possible Successors

clear_surface_modelclear_surface_modelClearSurfaceModelClearSurfaceModelClearSurfaceModel, fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_surface_modeldeserialize_surface_modelDeserializeSurfaceModelDeserializeSurfaceModelDeserializeSurfaceModel

See also

create_surface_modelcreate_surface_modelCreateSurfaceModelCreateSurfaceModelCreateSurfaceModel, read_surface_modelread_surface_modelReadSurfaceModelReadSurfaceModelReadSurfaceModel, write_surface_modelwrite_surface_modelWriteSurfaceModelWriteSurfaceModelWriteSurfaceModel

Module

3D Metrology


ClassesClasses | | Operators