DGKC Control Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Licensing
Expand ModelsModels
Expand DG Kernel ControlDG Kernel Control
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Expand ModelModel
Expand ViewView
Expand General ComputingGeneral Computing
Expand ViewsViews
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Support
Skip Navigation LinksHome Page > API Reference > General Geometry > Oriented Objects > ITorus_DG Go to ActiveX docs Search Documentation


ITorus_DG Interface

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.

A standalone torus can be created with a IObjectGenerator_DG.Create<ITorus_DG>() call.

Implements also: IUVSurface_DG, IObjectOriented_DG, IGeometricObject_DG, IObject_DG.

Properties

double MajorRadius
double MinorRadius
IFrame_DG Location
ILine_DG Axis
PointDgCenter
VectDg DirectionAxis

Methods

Init
GetArea
GetVolume
Copy
Clone

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


double GetArea()


double GetVolume()


void Copy(ITorus_DG torus)


ITorus_DG Clone()

Returns a new copy of this.