DG Kernel Documentation


Skip Navigation Links. Skip Navigation LinksHome Page > API Reference > General Geometry > Oriented Objects > ITorus_DG

ITorus_DG Interface

GetMajorRadius
SetMajorRadius
GetMinorRadius
SetMinorRadius
GetLocation
SetLocation
Init
GetArea
GetVolume

Oriented torus with center at the origin of the local frame and axis coinsiding with Z axis of the local frame. Generated by rotation of a circumference in x,z plane with center at (MajorRadius, 0) and radius MinorRadius.


double GetMajorRadius()


void SetMajorRadius(double radius)


double GetMinorRadius()


void SetMinorRadius(double radius)


IFrame_DG GetLocation()


void SetLocation(IFrame_DG frame)


void Init(IFrame_DG frame, double majorRadius, double minorRadius)


double GetArea()


double GetVolume()