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
Expand General GeometryGeneral Geometry
Collapse 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 > Model > Entities > Geometry > BSpline BRep Geometry > Native OCCT > IKO_TopExp_Explorer Search Documentation


IKO_TopExp_Explorer Interface

Gives access to hierarhy of subshapes of a bspline brep shape. This interface can be queried via ISection or IKO_TopoDS_Shape. Only objects with bspline geometry implement this interface.

See also: Shape Explorer sample


HRESULT GetSubShapes(TopAbs_ShapeEnumKO type, IKO_TopTools_Array1OfShape** subShapes)

Parameters

type -[in] Type of subshapes to retrieve

subShapes -[out,retval] The returned array of subshapes of the specified type

Remarks:

Returns array of subshapes of the specified type from the shape which implements this interface. Allows querying, for example, array of edges from a face.


HRESULT GetAncestors(IKO_TopoDS_Shape* topShape, TopAbs_ShapeEnumKO type, IKO_TopTools_Array1OfShape** ancestors)

Parameters

topShape -[in] The shape, acestors of which are to be returned

ancestors -[out,retval] acestors of topShape

Remarks:

Assuming topShape is a subshape of this (the shape which implements this interface) the method returns array its direct ancestors