C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

An array of contours belonging to the certain component. More...

#include <map_section.h>

+ Collaboration diagram for MbCompContourArray:

Public Member Functions

 MbCompContourArray (uint comp_, void *lump_)
 Constructor. More...
 
 ~MbCompContourArray ()
 Destructor.
 
void Add (MbContour *contour)
 Add a contour. More...
 
PArray< MbContour > * CreateContoursArray ()
 Get the array of contours. More...
 
void GetContoursArray (PArray< MbContour > &arCont)
 Get the array of contours. More...
 
void DetachContours ()
 Remove contours. More...
 

Public Attributes

uint compHash
 A component.
 
voidlump
 A pointer to a solid with a matrix.
 
PArray< MbContour > * arContours
 An array of contours.
 

Detailed Description

An array of contours belonging to the certain component.

An array of contours belonging to the certain component.

Constructor & Destructor Documentation

◆ MbCompContourArray()

MbCompContourArray::MbCompContourArray ( uint  comp_,
void lump_ 
)

Constructor.

Constructor by a component and a solid.

Parameters
[in]comp_- A component.
[in]lump_- A pointer to a solid with the MbLump matrix.

Member Function Documentation

◆ Add()

void MbCompContourArray::Add ( MbContour contour)

Add a contour.

Add a contour to the array of contours, if the array isn't null.

Parameters
[in]contour- A countour.

◆ CreateContoursArray()

PArray<MbContour>* MbCompContourArray::CreateContoursArray ( )

Get the array of contours.

Get the array of contours which are stored in the object and reset the field with the array of the object.

◆ GetContoursArray()

void MbCompContourArray::GetContoursArray ( PArray< MbContour > &  arCont)

Get the array of contours.

Add contours to a given array.

Parameters
[out]arCont- An array for contours adding.

◆ DetachContours()

void MbCompContourArray::DetachContours ( )
inline

Remove contours.

Clear the array of contours if it isn't null.


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