IKO_gp_Object Interface
Location and orientation of an object
- SetLocation
- GetLocation
- SetPosition
- Position
- SetAxis
- Axis
HRESULT SetLocation(double x, double y, double z)
Parameters
x,y,z -[in] Coordinates of new location
- Remarks:
Sets location of the object
HRESULT GetLocation(double* x, double* y, double* z)
Parameters
x,y,z -[out] Coordinates of center
- Remarks:
Returns location of the object
HRESULT SetPosition(IKO_gp_Ax3* A3)
Parameters
A3 -[in] New local axes
- Remarks:
Changes the local coordinate system of the object
HRESULT Position(IKO_gp_Ax3* A3)
Returns the local coordinate system of the plane
HRESULT SetAxis(IKO_gp_Ax1* A1)
Modifies main axis of the object. Main axis is defined for objects like plane, cylinder or circle in 3D, but not for sphere
HRESULT Axis(IKO_gp_Ax1* axis)
Returns main axis of the object
|