DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > API Reference > General Geometry > Oriented Objects > ICone_DG Go to DGKC docs Search Documentation


ICone_DG Interface

Oriented cone with apex at the origin of the local frame as specified by Init() or SetLocation(). Axis consides with Z axis of the local frame

A standalone cone can be created via IObjectGenerator_DG.Create("ICone_DG") > ICone_DG query.

Implements also: IUVSurface_DG, IGeometricObject_DG, IObject_DG.

GetSemiAngle
SetSemiAngle
GetLocation
SetLocation
Init
GetApex
SetApex
GetAxis
SetAxis
GetAxisDirection
SetAxisDirection
GetRadiusAt
SetRadiusAt
Copy
Clone

double GetSemiAngle()


void SetSemiAngle(double semiAngle)


IFrame_DG GetLocation()

The returned frame is "by value", not a reference, in this release. Use the SetLocation() method below to update this object after any modifications to the frame.


void SetLocation(IFrame_DG frame)


void Init(IFrame_DG frame, double semiAngle)


Point_DG GetApex()


void SetApex(Point_DG apex)


ILine_DG GetAxis()


void SetAxis(ILine_DG axis)


Vect_DG GetAxisDirection()


void SetAxisDirection(Vect_DG direction)


void GetRadiusAt(double z, double ret)

Returns radius of cross-section by a plane at Z=z parallel to X and Y axes.


void SetRadiusAt(double z, double radius)

Modifies angle of this so that radius of cross-section by a plane at Z=z parallel to X and Y axes becomes equal to radius.


void Copy(ICone_DG cone)


ICone_DG Clone()

Returns a new copy of this.