Open CASCADE Technology  7.3.0
Static Public Member Functions

DrawDim Class Reference

This package provides Drawable Dimensions. More...

#include <DrawDim.hxx>

Static Public Member Functions

static void DrawShapeName (const TopoDS_Shape &ashape, const Standard_CString aname)
 <>Commands More...
 
static void AllCommands (Draw_Interpretor &I)
 
static void PlanarDimensionCommands (Draw_Interpretor &I)
 <>tools More...
 
static gp_Pnt Nearest (const TopoDS_Shape &aShape, const gp_Pnt &apoint)
 
static Standard_Boolean Lin (const TopoDS_Edge &e, gp_Lin &l, Standard_Boolean &infinite, Standard_Real &first, Standard_Real &last)
 false if <e> is not a linear edge More...
 
static Standard_Boolean Circ (const TopoDS_Edge &e, gp_Circ &l, Standard_Real &first, Standard_Real &last)
 false if <e> is not a circular edge More...
 
static Standard_Boolean Pln (const TopoDS_Face &f, gp_Pln &p)
 false if <f> is not a planar face More...
 

Detailed Description

This package provides Drawable Dimensions.

The classes PlanarDimension and subclasses provide services to build drawable dimensions between point line and circle in a given 3d plane.

The classes Dimension and subclasses provide services to build drawable dimensions between plane and cylindrical surfaces.

Member Function Documentation

◆ AllCommands()

static void DrawDim::AllCommands ( Draw_Interpretor I)
static

◆ Circ()

static Standard_Boolean DrawDim::Circ ( const TopoDS_Edge e,
gp_Circ l,
Standard_Real first,
Standard_Real last 
)
static

false if <e> is not a circular edge

◆ DrawShapeName()

static void DrawDim::DrawShapeName ( const TopoDS_Shape ashape,
const Standard_CString  aname 
)
static

<>Commands

◆ Lin()

static Standard_Boolean DrawDim::Lin ( const TopoDS_Edge e,
gp_Lin l,
Standard_Boolean infinite,
Standard_Real first,
Standard_Real last 
)
static

false if <e> is not a linear edge

◆ Nearest()

static gp_Pnt DrawDim::Nearest ( const TopoDS_Shape aShape,
const gp_Pnt apoint 
)
static

◆ PlanarDimensionCommands()

static void DrawDim::PlanarDimensionCommands ( Draw_Interpretor I)
static

<>tools

◆ Pln()

static Standard_Boolean DrawDim::Pln ( const TopoDS_Face f,
gp_Pln p 
)
static

false if <f> is not a planar face


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