Open CASCADE Technology
6.5.4
|
Complements BRepTools_TrsfModification to provide reversible
scaling regarding tolerances.
Uses actual tolerances (attached to the shapes) not ones
returned by BRep_Tool::Tolerance to work with tolerances
lower than Precision::Confusion.
#include <ShapeCustom_TrsfModification.hxx>
Public Member Functions | |
ShapeCustom_TrsfModification (const gp_Trsf &T) | |
Empty constructor | |
Standard_Boolean | NewSurface (const TopoDS_Face &F, Handle< Geom_Surface > &S, TopLoc_Location &L, Standard_Real &Tol, Standard_Boolean &RevWires, Standard_Boolean &RevFace) |
Calls inherited method. Sets <Tol> as actual tolerance of <F> multiplied with scale factor. | |
Standard_Boolean | NewCurve (const TopoDS_Edge &E, Handle< Geom_Curve > &C, TopLoc_Location &L, Standard_Real &Tol) |
Calls inherited method. Sets <Tol> as actual tolerance of <E> multiplied with scale factor. | |
Standard_Boolean | NewPoint (const TopoDS_Vertex &V, gp_Pnt &P, Standard_Real &Tol) |
Calls inherited method. Sets <Tol> as actual tolerance of <V> multiplied with scale factor. | |
Standard_Boolean | NewCurve2d (const TopoDS_Edge &E, const TopoDS_Face &F, const TopoDS_Edge &NewE, const TopoDS_Face &NewF, Handle< Geom2d_Curve > &C, Standard_Real &Tol) |
Calls inherited method. Sets <Tol> as actual tolerance of <E> multiplied with scale factor. | |
Standard_Boolean | NewParameter (const TopoDS_Vertex &V, const TopoDS_Edge &E, Standard_Real &P, Standard_Real &Tol) |
Calls inherited method. Sets <Tol> as actual tolerance of <V> multiplied with scale factor. |
Standard_Boolean ShapeCustom_TrsfModification::NewCurve | ( | const TopoDS_Edge & | E, |
Handle< Geom_Curve > & | C, | ||
TopLoc_Location & | L, | ||
Standard_Real & | Tol | ||
) | [virtual] |
Reimplemented from BRepTools_TrsfModification.
Standard_Boolean ShapeCustom_TrsfModification::NewCurve2d | ( | const TopoDS_Edge & | E, |
const TopoDS_Face & | F, | ||
const TopoDS_Edge & | NewE, | ||
const TopoDS_Face & | NewF, | ||
Handle< Geom2d_Curve > & | C, | ||
Standard_Real & | Tol | ||
) | [virtual] |
Reimplemented from BRepTools_TrsfModification.
Standard_Boolean ShapeCustom_TrsfModification::NewParameter | ( | const TopoDS_Vertex & | V, |
const TopoDS_Edge & | E, | ||
Standard_Real & | P, | ||
Standard_Real & | Tol | ||
) | [virtual] |
Reimplemented from BRepTools_TrsfModification.
Standard_Boolean ShapeCustom_TrsfModification::NewPoint | ( | const TopoDS_Vertex & | V, |
gp_Pnt & | P, | ||
Standard_Real & | Tol | ||
) | [virtual] |
Reimplemented from BRepTools_TrsfModification.
Standard_Boolean ShapeCustom_TrsfModification::NewSurface | ( | const TopoDS_Face & | F, |
Handle< Geom_Surface > & | S, | ||
TopLoc_Location & | L, | ||
Standard_Real & | Tol, | ||
Standard_Boolean & | RevWires, | ||
Standard_Boolean & | RevFace | ||
) | [virtual] |
Reimplemented from BRepTools_TrsfModification.