OCC Main Page | ModelingData | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingData
TKBRep
BRepTools


BRepTools_GTrsfModification Class Reference

Defines a modification of the geometry by a GTrsf
from gp. All methods return True and transform the
geometry.
.

#include <BRepTools_GTrsfModification.hxx>

Inheritance diagram for BRepTools_GTrsfModification:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT BRepTools_GTrsfModification (const gp_GTrsf &T)
Standard_EXPORT gp_GTrsf & GTrsf ()
 Gives an access on the GTrsf.
.
Standard_EXPORT Standard_Boolean NewSurface (const TopoDS_Face &F, Handle(Geom_Surface)&S, TopLoc_Location &L, Standard_Real &Tol, Standard_Boolean &RevWires, Standard_Boolean &RevFace)
 Returns Standard_True if the face <f> has been
modified. In this case, <s> is the new geometric
support of the face, <l> the new location,<tol>
the new tolerance.<revwires> has to be set to
Standard_True when the modification reverses the
normal of the surface.(the wires have to be
reversed). <revface> has to be set to
Standard_True if the orientation of the modified
face changes in the shells which contain it. --
Here, <revface> will return Standard_True if the
-- gp_Trsf is negative.
.
Standard_EXPORT Standard_Boolean NewCurve (const TopoDS_Edge &E, Handle(Geom_Curve)&C, TopLoc_Location &L, Standard_Real &Tol)
 Returns Standard_True if the edge <e> has been
modified. In this case, <c> is the new geometric
support of the edge, <l> the new location, <tol>
the new tolerance. Otherwise, returns
Standard_False, and <c>, <l>, <tol> are not
significant.
.
Standard_EXPORT Standard_Boolean NewPoint (const TopoDS_Vertex &V, gp_Pnt &P, Standard_Real &Tol)
 Returns Standard_True if the vertex <v> has been
modified. In this case,

is the new geometric
support of the vertex, <tol> the new tolerance.
Otherwise, returns Standard_False, and

, <tol>
are not significant.
.

Standard_EXPORT 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)
 Returns Standard_True if the edge <e> has a new
curve on surface on the face <f>.In this case, <c>
is the new geometric support of the edge, <l> the
new location, <tol> the new tolerance.
Otherwise, returns Standard_False, and <c>, <l>,
<tol> are not significant.
.
Standard_EXPORT Standard_Boolean NewParameter (const TopoDS_Vertex &V, const TopoDS_Edge &E, Standard_Real &P, Standard_Real &Tol)
 Returns Standard_True if the Vertex <v> has a new
parameter on the edge <e>. In this case,

is
the parameter, <tol> the new tolerance.
Otherwise, returns Standard_False, and

, <tol>
are not significant.
.

Standard_EXPORT GeomAbs_Shape Continuity (const TopoDS_Edge &E, const TopoDS_Face &F1, const TopoDS_Face &F2, const TopoDS_Edge &NewE, const TopoDS_Face &NewF1, const TopoDS_Face &NewF2)
 Returns the continuity of <newe> between <newf1>
and <newf2>.

<newe> is the new edge created from <e>. <newf1>
(resp. <newf2>) is the new face created from <f1>
(resp. <f2>).
.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Private Attributes

gp_GTrsf myGTrsf
Standard_Real myGScale

Constructor & Destructor Documentation

Standard_EXPORT BRepTools_GTrsfModification::BRepTools_GTrsfModification const gp_GTrsf &  T  ) 
 


Member Function Documentation

Standard_EXPORT GeomAbs_Shape BRepTools_GTrsfModification::Continuity const TopoDS_Edge E,
const TopoDS_Face F1,
const TopoDS_Face F2,
const TopoDS_Edge NewE,
const TopoDS_Face NewF1,
const TopoDS_Face NewF2
[virtual]
 

Implements BRepTools_Modification.

Standard_EXPORT gp_GTrsf& BRepTools_GTrsfModification::GTrsf  ) 
 

Standard_EXPORT const BRepTools_GTrsfModification::Handle Standard_Type   )  const
 

Reimplemented from BRepTools_Modification.

Standard_EXPORT Standard_Boolean BRepTools_GTrsfModification::NewCurve const TopoDS_Edge E,
Handle(Geom_Curve)&  C,
TopLoc_Location &  L,
Standard_Real &  Tol
[virtual]
 

Implements BRepTools_Modification.

Standard_EXPORT Standard_Boolean BRepTools_GTrsfModification::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]
 

Implements BRepTools_Modification.

Standard_EXPORT Standard_Boolean BRepTools_GTrsfModification::NewParameter const TopoDS_Vertex V,
const TopoDS_Edge E,
Standard_Real &  P,
Standard_Real &  Tol
[virtual]
 

Implements BRepTools_Modification.

Standard_EXPORT Standard_Boolean BRepTools_GTrsfModification::NewPoint const TopoDS_Vertex V,
gp_Pnt &  P,
Standard_Real &  Tol
[virtual]
 

Implements BRepTools_Modification.

Standard_EXPORT Standard_Boolean BRepTools_GTrsfModification::NewSurface const TopoDS_Face F,
Handle(Geom_Surface)&  S,
TopLoc_Location &  L,
Standard_Real &  Tol,
Standard_Boolean &  RevWires,
Standard_Boolean &  RevFace
[virtual]
 

Implements BRepTools_Modification.


Field Documentation

Standard_Real BRepTools_GTrsfModification::myGScale [private]
 

gp_GTrsf BRepTools_GTrsfModification::myGTrsf [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:22:35 2008 for OpenCASCADE by  doxygen 1.4.1