C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

The iterator of section views of solid. More...

#include <map_section_complex.h>

Static Public Member Functions

static MbSectionMapIteratorAbsCreate (RPArray< MbMappingLumps > &lumps, const MbPlacement3D &place, bool isViewCut, bool isDismantel, const MbContour &ncontour, const MbSNameMaker &ncontourNames, ptrdiff_t part, const MbMapVisibilityMode &visMode, bool doCommonNaming, VERSION obj_version)
 The iterator by a set of solids models. More...
 
static MbResultType ContourValidityCheck (const MbContour &contour)
 The validity of the contour. More...
 
static bool IsOrthonormalSectionContour (const MbContour &contour)
 Recognize an ortho-perpendicular section. More...
 

Detailed Description

The iterator of section views of solid.

The iterator of section views of solid. Implementational.
Remarks on iterator:

  • a contour of cutaway

not be self-intersecting;\n

  • a contour of cutaway

only of segments;\n

  • section views generated by iterator of views don't depend on each other
    but affect on the construction of discontinuity lines between neighboring views.

Member Function Documentation

◆ Create()

static MbSectionMapIteratorAbs& MbSectionMapIterator::Create ( RPArray< MbMappingLumps > &  lumps,
const MbPlacement3D place,
bool  isViewCut,
bool  isDismantel,
const MbContour ncontour,
const MbSNameMaker ncontourNames,
ptrdiff_t  part,
const MbMapVisibilityMode visMode,
bool  doCommonNaming,
VERSION  obj_version 
)
static

The iterator by a set of solids models.

The iterator by a set of solids models.

Parameters
[in]lumps- A set of solids with matrices and dissections attributes.
[in]place- A plane of secant view.
[in]isViewCut- An attribute of a cutaway-view (not section).
[in]isDismantel- Dismantled view of the assembly.
[in]ncontour- A cutaway

. ~

Parameters
[in]ncontourNames- A name-maker of contour.
[in]part- A cut-off side. It have a value of the number sign.
[in]visMode- Visibility mode of mapping.
[in]doCommonNaming- Do common naming of all intermediate bodies.
[in]obj_version- Mathematical version.
Returns
The iterator of section views.

◆ ContourValidityCheck()

static MbResultType MbSectionMapIterator::ContourValidityCheck ( const MbContour contour)
static

The validity of the contour.

The validity of the contour for the construction of sections.
The contour is valid if it:

  • has no self-intersections,
  • consists of segments,
  • if an each segment has a bounding box with the length and width which are greater than the tolerance.
    Returns
    A result code.

◆ IsOrthonormalSectionContour()

static bool MbSectionMapIterator::IsOrthonormalSectionContour ( const MbContour contour)
static

Recognize an ortho-perpendicular section.

Recognize an ortho-perpendicular section.
The contour must satisfy conditions:

  • to be valid for the section construction,
  • to consist of more than two segments,
  • the first and the second segments must be parallel and co-directed,
  • an each contour segment must be perpendicular to the previous segment, or parallel and co-directed to the previous segment,
  • must have at least one pair of mutually perpendicular adjacent segments.
    Returns
    An attribute of ortho-perpendicular section.

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