GetPointCAD

  Functions >

GetPointCAD

Previous pageReturn to chapter overviewNext page

The GetPointCAD function converts coordinates of the CAD 3D point into coordinates of the flat screen coordinate system.

 

While working in 3D, there are both a fixed coordinate system and a movable one. The movable user coordinate system is useful for entering coordinates, establishing drawing planes and setting views. If it is needed to convert point defined in movable coordinate system into fixed screen coordinate system, one can use the GetPointCAD function.

 

Syntax:

 

int GetPointCAD(

  HANDLE Handle,

  LPDXFPOINT APoint

);

 

 

Parameters:

 

Handle

Identifies the CADImage object handle.

APoint

This parameters is used for both an input and an output parameter. As the input parameter it defines a point in movable CAD coordinates. As the output parameter it points to the DXFPOINT structure that receives a value of the corresponding 3D point in the fixed coordinate system.

 

 

Return Value:

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

 

 

See Also

CADCreate  | GetCADCoords


© 2003-2021 CADSoftTools

Go to CAD DLL