| Customize Help
| Save Settings

M3dmetDraw3d



Function Map
Synopsis
Draw the result of a fit operation into a 3D graphics list.
Syntax
MIL_INT64 M3dmetDraw3d(
MIL_ID OperationDraw3dContext3dmetId, //in
MIL_ID SrcResult3dmetId, //in
MIL_ID DstList3dgraId, //in
MIL_INT64 DstParentLabel, //in
MIL_INT64 ControlFlag //in
)
Description

This function draws the fitted geometry, defined in the specified fit 3D metrology result buffer, into a 3D graphics list.

Note that, this function will draw a 3D plane geometry clipped to the limits of the points that were used to fit the plane, unlike M3dgeoDraw3d() which clips the 3D graphic using the 3D graphics list's clipping box.

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see if there is complementary information.
Parameters
This function is not supported on the selected boards.
Parameters
OperationDraw3dContext3dmetId

Reserved for future expansion and must be set to M_DEFAULT.

SrcResult3dmetId

Specifies the identifier of the fit 3D metrology result buffer. If the fit 3D metrology result buffer has not already been successfully fitted, an error will be generated.

DstList3dgraId

Specifies the identifier of the 3D graphics list in which to draw. The 3D graphics list must have been previously allocated using M3dgraAlloc().

DstParentLabel

Specifies the label of the 3D graphic in the 3D graphics list to use as the geometry's parent.

function map For specifying the parent label
Click to summarizeValue Description
Click to summarize M_DEFAULT

Same as M_ROOT_NODE.

Click to summarize M_ROOT_NODE

Specifies the top-most node of the 3D graphics list.

Click to summarize Value >= 0

Specifies the label of the 3D graphic in the 3D graphics list.

ControlFlag

Reserved for future expansion and must be set to M_DEFAULT.

Return value
Returns the label of the 3D graphic added to the 3D graphics list.
Compilation information
Header Include mil.h.
Library Use mil.lib; mil3dmet.lib.
DLL Requires mil.dll; mil3dmet.dll.
DEFAULT ROOT NODE