Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
BRepGraphInc::Instance< TypedIdT > Struct Template Reference

Unified instance container template. More...

#include <BRepGraphInc_Instance.hxx>

Public Member Functions

bool IsValid () const
 Returns true if the instance references an existing definition id.

Data Fields

TypedIdT DefId
TopLoc_Location Location
TopAbs_Orientation Orientation = TopAbs_FORWARD

Detailed Description

template<typename TypedIdT>
struct BRepGraphInc::Instance< TypedIdT >

Unified instance container template.

Bundles a typed definition id with location and orientation.

Template Parameters
TypedIdTtyped definition id (e.g. BRepGraph_FaceId, BRepGraph_NodeId).

Member Function Documentation

◆ IsValid()

template<typename TypedIdT>
bool BRepGraphInc::Instance< TypedIdT >::IsValid ( ) const
inlinenodiscard

Returns true if the instance references an existing definition id.

Field Documentation

◆ DefId

template<typename TypedIdT>
TypedIdT BRepGraphInc::Instance< TypedIdT >::DefId

◆ Location

template<typename TypedIdT>
TopLoc_Location BRepGraphInc::Instance< TypedIdT >::Location

◆ Orientation

template<typename TypedIdT>
TopAbs_Orientation BRepGraphInc::Instance< TypedIdT >::Orientation = TopAbs_FORWARD

The documentation for this struct was generated from the following file: