C3D Toolkit  Kernel - 118069, Vision - 2.16.7.1844
map_section_complex.h File Reference

The tool for the iterative construction of multi-segment section. More...

#include <templ_ss_array.h>
#include <mb_placement3d.h>
#include <mb_axis3d.h>
#include <mb_operation_result.h>
#include <map_lump.h>

Classes

struct  MbSectionMapIteratorAbs
 The interface of iterator of section views. More...
 
class  MbSectionMapIterator
 The iterator of section views of solid. More...
 
class  MbLocalSectionMapIterator
 The iterator of local views of sections of solid. More...
 

Functions

bool FormFirstSectionPlane (const MbPlacement3D &m_place, const MbCurve &m_segment, bool m_left, MbPlacement3D &secPlace)
 Construction of a plane of simple section/cutaway. More...
 
void MappingVPtoMP (MbPlacement3D &place, const MbVector &viewDir)
 The view plane convert to the plane of the projection. More...
 

Detailed Description

The tool for the iterative construction of multi-segment section.

Function Documentation

◆ FormFirstSectionPlane()

bool FormFirstSectionPlane ( const MbPlacement3D &  m_place,
const MbCurve &  m_segment,
bool  m_left,
MbPlacement3D &  secPlace 
)

Construction of a plane of simple section/cutaway.

Construction of a plane of section/cutaway if a cutaway line consists of one segment.

Parameters
[in]m_place- A plane of cutaway line.
[in]m_segment- A segment of a cutaway line.
[in]m_left- Direction of view.
[out]secPlace- A plane of a section.

◆ MappingVPtoMP()

void MappingVPtoMP ( MbPlacement3D &  place,
const MbVector &  viewDir 
)
inline

The view plane convert to the plane of the projection.

The view plane convert to the plane of the projection. Normal to the view plane is directed against the view vector.

Parameters
[in,out]place- A view plane (A plane of the projection).
[in]viewDir- A view vector.