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_TColStd_Array1OfInteger Interface


Properties of a plane. To create this type of a circle use a call similar to iDIObjGenerator.Create3("IKO_gp_Pln") where iDIObjGenerator has IDIObjGenerator type.

Query IKO_gp_Object from this interface to obtain or modify location and orientation of the plane

Query IKO_gp_Transformation to transform position and orientation

IKO_Standard_Object to create a copy or obtain type name

Init
Init2
Init3
Coefficients
Distance
Contains

HRESULT Init(IKO_gp_Ax3* A3)

Remarks:

The coordinate system of the plane is defined with the axis placement A3. The "Direction" of A3 defines the normal to the plane. The "Location" of A3 defines the location (origin) of the plane. The "XDirection" and "YDirection" of A3 define the "XAxis" and the "YAxis" of the plane used to parametrize the plane.


HRESULT Init2(DIPoint* P, DIVect* V)

Remarks:

Creates a plane with at location P and normal V


HRESULT Init3(double A, double B, double C, double D)

Remarks:

Creates a plane from its cartesian equation : A * X + B * Y + C * Z + D = 0.0 Raises ConstructionError if Sqrt (A*A + B*B + C*C) less than or equal to Resolution from gp.


HRESULT Coefficients(double* A, double* B, double* C, double* D)

Remarks:

Returns the coefficients of the plane's cartesian equation : A * X + B * Y + C * Z + D = 0.


HRESULT Distance(DIPoint* P, double* dist)

Remarks:

Returns distance to point P


HRESULT Contains(DIPoint* P, double LinearTolerance, VARIANT_BOOL* res)

Remarks:

Returns true if this plane contains the point P. This means that the distance between point P and this plane is less than or equal to LinearTolerance, or line L is normal to the "main Axis" of the local coordinate system of this plane, within the tolerance AngularTolerance, and the distance between the origin of line L and this plane is less than or equal to LinearTolerance.