MbTopologyItem Topological Object
The MbTopologyItem class is declared in the topology_item.h file.
The MbTopologyItem topological object differs from other topological objects by having a name, a modification flag changed, and a marker label. The MbTopologyItem topological object is a derived class of the MbTopItem topological object.
The MbAttrContainer attribute container endows named topological objects with attributes.
The C3D geometric kernel implements the following topological objects that are derived from the MbTopologyItem class:
MbFace – face,
MbEdge – edge,
MbVertex – vertex.
The MbEdge edge has a derived class MbCurveEdge – a face-joining edge.
Named topological objects have the following methods:
methods that handle transformation of a topological object:
void Move( const MbVector3D & v, MbRegTransform * iReg = NULL ),
void Rotate( const MbAxis3D & axis, double angle, MbRegTransform * iReg = NULL ),
void Transform( const MbMatrix3D & m, MbRegTransform * iReg = NULL ),
methods that handle the name of a topological object:
MbName & GetName(),
SimpleName & GetMainName(),
SimpleName & GetFirstName(),
a method that returns a type from the enumeration of topological objects:
MbeTopologyType IsA().
Named topological objects are used as elements for constructing geometric model objects.