DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Collapse ModelsModels
Collapse DG Kernel ComponentsDG Kernel Components
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Search Documentation


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