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


ISymmetries Interface

GetCount
GetSymmetry

ISymmetries interface manages collection of  symmetries of a object. ISymmetries can be retrieved from ISection interface.  

See also Gear Sample, Interface List


HRESULT GetCount( int * pnCount )

Parameters

pnCount - [out] pointer to the integer variable which will receive the number of symmetries in the object

Return Values

S_OK in case of success.

DISP_E_PARAMNOTOPTIONAL - if pnCount is NULL.


HRESULT GetSymmetry( int index, ISymmetry **ppISymmetry)

Parameters

index - [in] index of the symmetry in the array.

ppISymmetry - [out] pointer to the variable which will receive the ISymmetry pointer implemented by the symmetry.

Return Values

S_OK in case of success.

DISP_E_PARAMNOTOPTIONAL - if ppISymmetry is NULL.