DGKC Control Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > API Reference > General Geometry > Oriented Objects > ICone_DG Go to ActiveX 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 with a IObjectGenerator_DG.Create<ICone_DG>() call.

Implements also: IUVSurface_DG, IObjectOriented_DG, IGeometricObject_DG, IObject_DG.

Properties

double SemiAngle
IFrame_DG Location
PointDgApex
ILine_DG Axis
VectDg AxisDirection

Methods

Init
GetRadiusAt
SetRadiusAt
Copy
Clone

void Init(IFrame_DG frame, double semiAngle)


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.