|
Public Member Functions |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Static Public Member Functions |
static Standard_EXPORT gp_Pnt | Nearest (const TopoDS_Shape &aShape, const gp_Pnt &aPoint) |
| Returns the nearest point in a shape. This is used by
several classes in calculation of dimensions.
.
|
static Standard_EXPORT gp_Pnt | Farest (const TopoDS_Shape &aShape, const gp_Pnt &aPoint) |
static Standard_EXPORT Standard_Boolean | ComputeGeometry (const TopoDS_Edge &anEdge, Handle(Geom_Curve)&aCurve, gp_Pnt &FirstPnt, gp_Pnt &LastPnt) |
static Standard_EXPORT Standard_Boolean | ComputeGeometry (const TopoDS_Edge &anEdge, Handle(Geom_Curve)&aCurve, gp_Pnt &FirstPnt, gp_Pnt &LastPnt, Handle(Geom_Curve)&extCurve, Standard_Boolean &isinfinite, Standard_Boolean &isOnPlane, const Handle(Geom_Plane)&aPlane) |
static Standard_EXPORT Standard_Boolean | ComputeGeometry (const TopoDS_Edge &anEdge1, const TopoDS_Edge &anEdge2, Handle(Geom_Curve)&aCurve1, Handle(Geom_Curve)&aCurve2, gp_Pnt &FirstPnt1, gp_Pnt &LastPnt1, gp_Pnt &FirstPnt2, gp_Pnt &LastPnt2, const Handle(Geom_Plane)&aPlane) |
static Standard_EXPORT Standard_Boolean | ComputeGeometry (const TopoDS_Edge &anEdge1, const TopoDS_Edge &anEdge2, Standard_Integer &indexExt, Handle(Geom_Curve)&aCurve1, Handle(Geom_Curve)&aCurve2, gp_Pnt &FirstPnt1, gp_Pnt &LastPnt1, gp_Pnt &FirstPnt2, gp_Pnt &LastPnt2, Handle(Geom_Curve)&ExtCurve, Standard_Boolean &isinfinite1, Standard_Boolean &isinfinite2, const Handle(Geom_Plane)&aPlane) |
static Standard_EXPORT Standard_Boolean | ComputeGeomCurve (Handle(Geom_Curve)&aCurve, const Standard_Real first1, const Standard_Real last1, gp_Pnt &FirstPnt1, gp_Pnt &LastPnt1, const Handle(Geom_Plane)&aPlane, Standard_Boolean &isOnPlane) |
static Standard_EXPORT Standard_Boolean | ComputeGeometry (const TopoDS_Vertex &aVertex, gp_Pnt &point, const Handle(Geom_Plane)&aPlane, Standard_Boolean &isOnPlane) |
static Standard_EXPORT Standard_Boolean | GetPlaneFromFace (const TopoDS_Face &aFace, gp_Pln &aPlane, Handle(Geom_Surface)&aSurf, AIS_KindOfSurface &aSurfType, Standard_Real &Offset) |
| Tryes to get Plane from Face. Returns Surface of Face
in aSurf. Returns Standard_True and Plane of Face in
aPlane in following cases:
Face is Plane, Offset of Plane,
Extrusion of Line and Offset of Extrusion of Line
Returns pure type of Surface which can be:
Plane, Cylinder, Cone, Sphere, Torus,
SurfaceOfRevolution, SurfaceOfExtrusion
.
|
static Standard_EXPORT void | InitFaceLength (const TopoDS_Face &aFace, gp_Pln &aPlane, Handle(Geom_Surface)&aSurface, AIS_KindOfSurface &aSurfaceType, Standard_Real &anOffset) |
static Standard_EXPORT void | ComputeLengthBetweenPlanarFaces (const TopoDS_Face &FirstFace, const TopoDS_Face &SecondFace, const gp_Pln &Plane1, const gp_Pln &Plane2, Standard_Real &Value, gp_Pnt &FirstAttach, gp_Pnt &SecondAttach, gp_Dir &DirAttach, const Standard_Boolean AutomaticPos, gp_Pnt &Position) |
static Standard_EXPORT void | ComputeLengthBetweenCurvilinearFaces (const TopoDS_Face &FirstFace, const TopoDS_Face &SecondFace, Handle(Geom_Surface)&FirstSurf, Handle(Geom_Surface)&SecondSurf, const Standard_Boolean AutomaticPos, Standard_Real &Value, gp_Pnt &Position, gp_Pnt &FirstAttach, gp_Pnt &SecondAttach, gp_Dir &DirAttach) |
static Standard_EXPORT void | ComputeAngleBetweenPlanarFaces (const TopoDS_Face &FirstFace, const TopoDS_Face &SecondFace, const Handle(Geom_Surface)&Surf2, const gp_Ax1 &Axis, const Standard_Real Value, const Standard_Boolean AutomaticPos, gp_Pnt &Position, gp_Pnt &Center, gp_Pnt &FirstAttach, gp_Pnt &SecondAttach, gp_Dir &FirstDir, gp_Dir &SecondDir) |
| Computes geometric parameters for planar faces for
Angular dimensions
.
|
static Standard_EXPORT void | ComputeAngleBetweenCurvilinearFaces (const TopoDS_Face &FirstFace, const TopoDS_Face &SecondFace, const Handle(Geom_Surface)&FirstSurf, const Handle(Geom_Surface)&SecondSurf, const AIS_KindOfSurface FirstSurfType, const AIS_KindOfSurface SecondSurfType, const gp_Ax1 &Axis, const Standard_Real Value, const Standard_Boolean AutomaticPos, gp_Pnt &Position, gp_Pnt &Center, gp_Pnt &FirstAttach, gp_Pnt &SecondAttach, gp_Dir &FirstDir, gp_Dir &SecondDir, Handle(Geom_Plane)&Plane) |
| Computes geometric parameters for curvilinear faces for
Angular dimensions
.
|
static Standard_EXPORT gp_Pnt | ProjectPointOnPlane (const gp_Pnt &aPoint, const gp_Pln &aPlane) |
static Standard_EXPORT gp_Pnt | ProjectPointOnLine (const gp_Pnt &aPoint, const gp_Lin &aLine) |
static Standard_EXPORT gp_Pnt | TranslatePointToBound (const gp_Pnt &aPoint, const gp_Dir &aDir, const Bnd_Box &aBndBox) |
static Standard_EXPORT Standard_Boolean | InDomain (const Standard_Real aFirstPar, const Standard_Real aLastPar, const Standard_Real anAttachPar) |
| returns True if point with anAttachPar is
in domain of arc
|
static Standard_EXPORT gp_Pnt | NearestApex (const gp_Elips &elips, const gp_Pnt &pApex, const gp_Pnt &nApex, const Standard_Real fpara, const Standard_Real lpara, Standard_Boolean &IsInDomain) |
| computes nearest to ellipse arc apex
|
static Standard_EXPORT Standard_Real | DistanceFromApex (const gp_Elips &elips, const gp_Pnt &Apex, const Standard_Real par) |
| computes length of ellipse arc in parametric units
|
static Standard_EXPORT void | ComputeProjEdgePresentation (const Handle(Prs3d_Presentation)&aPres, const Handle(AIS_Drawer)&aDrawer, const TopoDS_Edge &anEdge, const Handle(Geom_Curve)&ProjCurve, const gp_Pnt &FirstP, const gp_Pnt &LastP, const Quantity_NameOfColor aColor=Quantity_NOC_PURPLE, const Standard_Real aWidth=2, const Aspect_TypeOfLine aProjTOL=Aspect_TOL_DASH, const Aspect_TypeOfLine aCallTOL=Aspect_TOL_DOT) |
static Standard_EXPORT void | ComputeProjVertexPresentation (const Handle(Prs3d_Presentation)&aPres, const Handle(AIS_Drawer)&aDrawer, const TopoDS_Vertex &aVertex, const gp_Pnt &ProjPoint, const Quantity_NameOfColor aColor=Quantity_NOC_PURPLE, const Standard_Real aWidth=2, const Aspect_TypeOfMarker aProjTOM=Aspect_TOM_PLUS, const Aspect_TypeOfLine aCallTOL=Aspect_TOL_DOT) |