Version: 9.12.0
MeasureGUI_DimensionCreateTool Class Reference

#include <MeasureGUI_DimensionCreateTool.h>

Classes

struct  Segment
 

Public Types

typedef NCollection_Sequence< gp_Dir > SeqOfDirs
 
typedef NCollection_Sequence< gp_Pln > SeqOfPlanes
 
typedef NCollection_Sequence< SegmentSeqOfSegments
 

Public Member Functions

 MeasureGUI_DimensionCreateTool ()
 

Public Attributes

struct {
   Standard_Real   DefaultFlyout
 
Settings
 

Protected Member Functions

void ChooseLengthFlyoutsFromBnd (SeqOfDirs &, const gp_Pnt &, const gp_Pnt &, const Bnd_Box &) const
 
gp_Dir ChooseDirFromBnd (const SeqOfDirs &, const gp_Pnt &, const Bnd_Box &) const
 
template<typename TPlane >
TPlane SelectPlaneForProjection (const NCollection_Sequence< TPlane > &, const Handle(V3d_View)&) const
 
void PositionLength (const Bnd_Box &, const gp_Vec &, const gp_Vec &, const gp_Vec &, const gp_Vec &, const gp_Pnt &, const gp_Pnt &, gp_Pln &) const
 
void PositionDiameter (const Bnd_Box &, const gp_Vec &, const gp_Circ &, gp_Pnt &, gp_Pnt &, gp_Pln &) const
 
void PositionDiameter (const Bnd_Box &, const gp_Vec &, const gp_Circ &, const Standard_Real &, gp_Pln &) const
 
GEOM::GeomObjPtr GetMainShape (const GEOM::GeomObjPtr &) const
 
bool GetFaceSide (const TopoDS_Face &, const TopoDS_Edge &, gp_Dir &) const
 
SeqOfSegments GetInPlaneSegments (const gp_Circ &, const SeqOfDirs &) const
 

Member Typedef Documentation

◆ SeqOfDirs

typedef NCollection_Sequence<gp_Dir> MeasureGUI_DimensionCreateTool::SeqOfDirs

◆ SeqOfPlanes

typedef NCollection_Sequence<gp_Pln> MeasureGUI_DimensionCreateTool::SeqOfPlanes

◆ SeqOfSegments

Constructor & Destructor Documentation

◆ MeasureGUI_DimensionCreateTool()

MeasureGUI_DimensionCreateTool::MeasureGUI_DimensionCreateTool ( )

References Settings.

Member Function Documentation

◆ ChooseDirFromBnd()

gp_Dir MeasureGUI_DimensionCreateTool::ChooseDirFromBnd ( const SeqOfDirs ,
const gp_Pnt &  ,
const Bnd_Box &   
) const
protected

◆ ChooseLengthFlyoutsFromBnd()

void MeasureGUI_DimensionCreateTool::ChooseLengthFlyoutsFromBnd ( SeqOfDirs ,
const gp_Pnt &  ,
const gp_Pnt &  ,
const Bnd_Box &   
) const
protected

◆ GetFaceSide()

bool MeasureGUI_DimensionCreateTool::GetFaceSide ( const TopoDS_Face &  ,
const TopoDS_Edge &  ,
gp_Dir &   
) const
protected

◆ GetInPlaneSegments()

SeqOfSegments MeasureGUI_DimensionCreateTool::GetInPlaneSegments ( const gp_Circ &  ,
const SeqOfDirs  
) const
protected

◆ GetMainShape()

GEOM::GeomObjPtr MeasureGUI_DimensionCreateTool::GetMainShape ( const GEOM::GeomObjPtr ) const
protected

◆ PositionDiameter() [1/2]

void MeasureGUI_DimensionCreateTool::PositionDiameter ( const Bnd_Box &  ,
const gp_Vec &  ,
const gp_Circ &  ,
const Standard_Real &  ,
gp_Pln &   
) const
protected

◆ PositionDiameter() [2/2]

void MeasureGUI_DimensionCreateTool::PositionDiameter ( const Bnd_Box &  ,
const gp_Vec &  ,
const gp_Circ &  ,
gp_Pnt &  ,
gp_Pnt &  ,
gp_Pln &   
) const
protected

◆ PositionLength()

void MeasureGUI_DimensionCreateTool::PositionLength ( const Bnd_Box &  ,
const gp_Vec &  ,
const gp_Vec &  ,
const gp_Vec &  ,
const gp_Vec &  ,
const gp_Pnt &  ,
const gp_Pnt &  ,
gp_Pln &   
) const
protected

◆ SelectPlaneForProjection()

template<typename TPlane >
TPlane MeasureGUI_DimensionCreateTool::SelectPlaneForProjection ( const NCollection_Sequence< TPlane > &  ,
const Handle(V3d_View)&   
) const
protected

Member Data Documentation

◆ DefaultFlyout

Standard_Real MeasureGUI_DimensionCreateTool::DefaultFlyout

◆ 

struct { ... } MeasureGUI_DimensionCreateTool::Settings

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