DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Collapse ModelsModels
Collapse DG Kernel ComponentsDG Kernel Components
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Search Documentation


IAxialSymmetry Interface

GetAngle
SetAngle

GetType
IsEnabled
GetRepeatCount
IsVisible
SetVisible
GetIncludeChildren
SetIncludeChildren

IAxialSymmetry interface is inherited from and hence has all methods of ISymmetry interface. Additional two methods GetAngle and SetAngle manage angle of rotation. See Axial Symmetry. IAxialSymmetry interface can be obtained directly from ISymmetries interface with a call to GetSymmetry method.

See also Gear Sample, Axial Symmetry, Symmetries, Interface List


HRESULT GetAngle( double* pdAngle )

Parameters

pdAngle - [out] pointer to a double variable which will receive the angle of rotation.

Return Values

S_OK in case of success.

DISP_E_PARAMNOTOPTIONAL - if pdAngle is NULL.

Remarks

Angle of rotation is the angle by which primary object of the object will be rotated around axis of symmetry to create the next secondary object.


HRESULT SetAngle( double dAngle )

Parameters

dAngle - [in] new angle of rotation.

Return Values

S_OK in case of success.

Remarks

Angle of rotation is the angle by which primary object of the object will be rotated around axis of symmetry to create the next secondary object.