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


The abstract class Conic describes the common
behavior of conic curves in 2D space and, in
particular, their general characteristics. The Geom2d
package provides four specific classes of conics:
Geom2d_Circle, Geom2d_Ellipse,
Geom2d_Hyperbola and Geom2d_Parabola.
A conic is positioned in the plane with a coordinate
system (gp_Ax22d object), where the origin is the
center of the conic (or the apex in case of a parabola).
This coordinate system is the local coordinate
system of the conic. It gives the conic an explicit
orientation, determining the direction in which the
parameter increases along the conic. The "X Axis" of
the local coordinate system also defines the origin of
the parameter of the conic.

Query IKO_Standard_Object from this interface to create a copy or obtain the type name

Methods

SetAxis
SetXAxis
SetYAxis
SetLocation
XAxis
YAxis
Eccentricity
Location
Position
Reverse
ReversedParameter
Continuity
IsCN

HRESULT SetAxis(IKO_gp_Ax22d* A)


HRESULT SetXAxis(IKO_gp_Ax2d* A)


HRESULT SetYAxis(IKO_gp_Ax2d* A)


HRESULT SetLocation(KC2D* P)


HRESULT XAxis(IKO_gp_Ax2d** ret)


HRESULT YAxis(IKO_gp_Ax2d** ret)


HRESULT Eccentricity(double* ret)


HRESULT Location(KC2D* ret)


HRESULT Position(IKO_gp_Ax22d** ret)


HRESULT Reverse()


HRESULT ReversedParameter(double U, double* ret)


HRESULT Continuity(GeomAbs_ShapeKO* ret)


HRESULT IsCN(int N, VARIANT_BOOL* ret)