DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Expand ModelsModels
Expand DG Kernel ComponentsDG Kernel Components
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Expand ModelModel
Expand ViewView
Expand General ComputingGeneral Computing
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 > Surfaces > ISurface Search Documentation


ISurface(64) Interface

GetPatches
GetEdges
GetVertices

ISurface interface gives access to surface of an object. It can be queried from the relevant ISection interface.

See also: Patchwork sample, Interface List


HRESULT GetPatches(IList** patches)

Parameters

patches - [out, retval] The returned list of all patches in the surface

Remarks:

Use the returned list to browse patches in the surface. The list keeps references of IPatch type. To access a patch obtain position of the patch using IIterator interface queried form the patches list. Call IList.GetAt method to obtain the element from the list. Cast it to IPatch type. See Patchwork sample for an example. Sequence of the patches in the list is random.


HRESULT GetEdges(IList** edges)

Parameters

edges - [out, retval] The returned list of all edges in the surface

Remarks:

Use the returned list to browse edges of the surface. The list keeps references of IKCLine type. To access an edge obtain position of the edge using IIterator interface queried form the edges list. Call IList.GetAt method to obtain the element from the list. Cast it to IKCLine type. See Patchwork sample for an example. Sequence of the edges in the list has is random.


HRESULT GetVertices(IList** vertices)

Parameters

vertices - [out, retval] The returned list of all vertices in the surface

Remarks:

Use the returned list to browse vertices in the surface. The list keeps references of IVertex type. To access a vertex obtain position of the vertex using IIterator interface queried form the vertices list. Call IList.GetAt method to obtain the element from the list. Cast it to IVertex type. See Patchwork sample for an example. Sequence of the vertices in the list has is random.