MIL_ID SysId, | //in |
MIL_INT64 ObjectType, | //in |
MIL_INT64 ControlFlag, | //in |
MIL_ID *GeometryOrMatrix3dgeoIdPtr | //out |
This function allocates a 3D geometry object or transformation matrix object on the specified system.
Note that 3D geometry objects or transformation matrix objects allocated with M3dgeoAlloc() can be saved using either M3dgeoStream() or M3dgeoSave() and restored using M3dgeoRestore().
When the 3D geometry object or transformation matrix object is no longer required, you should release its memory, using M3dgeoFree().
Specifies the identifier of the system on which to allocate the 3D geometry object or transformation matrix object.
For specifying the system identifier
|
|||||||||||||||||||||||||||||||||||||||
Value | Description | ||||||||||||||||||||||||||||||||||||||
M_DEFAULT_HOST |
Specifies the default Host system of the current MIL application. |
||||||||||||||||||||||||||||||||||||||
MIL system identifier |
Specifies a valid system identifier, previously allocated using MsysAlloc(). |
Specifies to allocate a 3D geometry object or transformation matrix object. This parameter must be set to one of the following:
For specifying the object type
|
|||||||||||||||||||||||||||||||||||||||
Value | Description | ||||||||||||||||||||||||||||||||||||||
M_GEOMETRY |
Allocates a 3D geometry object on the specified system. |
||||||||||||||||||||||||||||||||||||||
M_TRANSFORMATION_MATRIX |
Allocates a transformation matrix object on the specified system. |
Header | Include mil.h. |
Library | Use mil.lib; mil3d.lib. |
DLL | Requires mil.dll; mil3d.dll. |