DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Expand ModelsModels
Expand DG Kernel ControlsDG Kernel Controls
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
Open Source
Support
Skip Navigation LinksHome Page > API Reference > General Geometry > Oriented Objects > ISphere_DG Go to DGKC docs Search Documentation


ISphere_DG Interface

A spherical surface, by default Located at the origin and has radius 1.0

A standalone sphere can be created via IObjectGenerator_DG.Create("ISphere_DG") > ISphere_DG query.

Implements also: IUVSurface_DG, IGeometricObject_DG, IObject_DG.

Init
Init1
GetRadius
SetRadius
GetCenter
SetCenter
GetLocation
SetLocation
GetArea
GetVolume
Copy
Clone

void Init(Point_DG center, double radius)


void Init1(IFrame_DG frame, double radius)


double GetRadius()


void SetRadius(double radius)


Point_DG GetCenter()


void SetCenter(Point_DG center)


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)


double GetArea()


double GetVolume()


void Copy(ISphere_DG sphere)


ISphere_DG Clone()

Returns a new copy of this.