DG Kernel Documentation


Skip Navigation Links.
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