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

ModelingAlgorithms
TKShHealing
ShapeCustom


ShapeCustom_ConvertToBSpline Class Reference

implement a modification for BRepTools
Modifier algortihm. Converts Surface of
Linear Exctrusion, Revolution and Offset
surfaces into BSpline Surface according to
flags.

#include <ShapeCustom_ConvertToBSpline.hxx>


Public Member Functions

Standard_EXPORT ShapeCustom_ConvertToBSpline ()
Standard_EXPORT void SetExtrusionMode (const Standard_Boolean extrMode)
 Sets mode for convertion of Surfaces of Linear
extrusion.
.
Standard_EXPORT void SetRevolutionMode (const Standard_Boolean revolMode)
 Sets mode for convertion of Surfaces of Revolution.
.
Standard_EXPORT void SetOffsetMode (const Standard_Boolean offsetMode)
 Sets mode for convertion of Offset surfaces.
.
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. Otherwise, returns
Standard_False, and <s>, <l>, <tol> are not
significant.
.
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.

<newe> is the new edge created from <e>. <newf>
is the new face created from <f>. They may be usefull.
.
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 Member Functions

Standard_EXPORT Standard_Boolean IsToConvert (const Handle(Geom_Surface)&S, Handle(Geom_Surface)&SS) const

Private Attributes

Standard_Boolean myExtrMode
Standard_Boolean myRevolMode
Standard_Boolean myOffsetMode


Constructor & Destructor Documentation

Standard_EXPORT ShapeCustom_ConvertToBSpline::ShapeCustom_ConvertToBSpline  ) 
 


Member Function Documentation

Standard_EXPORT GeomAbs_Shape ShapeCustom_ConvertToBSpline::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
 

Standard_EXPORT const ShapeCustom_ConvertToBSpline::Handle Standard_Type   )  const
 

Standard_EXPORT Standard_Boolean ShapeCustom_ConvertToBSpline::IsToConvert const Handle(Geom_Surface)&  S,
Handle(Geom_Surface)&  SS
const [private]
 

Standard_EXPORT Standard_Boolean ShapeCustom_ConvertToBSpline::NewCurve const TopoDS_Edge &  E,
Handle(Geom_Curve)&  C,
TopLoc_Location &  L,
Standard_Real &  Tol
 

Standard_EXPORT Standard_Boolean ShapeCustom_ConvertToBSpline::NewCurve2d const TopoDS_Edge &  E,
const TopoDS_Face &  F,
const TopoDS_Edge &  NewE,
const TopoDS_Face &  NewF,
Handle(Geom2d_Curve)&  C,
Standard_Real &  Tol
 

Standard_EXPORT Standard_Boolean ShapeCustom_ConvertToBSpline::NewParameter const TopoDS_Vertex &  V,
const TopoDS_Edge &  E,
Standard_Real &  P,
Standard_Real &  Tol
 

Standard_EXPORT Standard_Boolean ShapeCustom_ConvertToBSpline::NewPoint const TopoDS_Vertex &  V,
gp_Pnt &  P,
Standard_Real &  Tol
 

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

Standard_EXPORT void ShapeCustom_ConvertToBSpline::SetExtrusionMode const Standard_Boolean  extrMode  ) 
 

Standard_EXPORT void ShapeCustom_ConvertToBSpline::SetOffsetMode const Standard_Boolean  offsetMode  ) 
 

Standard_EXPORT void ShapeCustom_ConvertToBSpline::SetRevolutionMode const Standard_Boolean  revolMode  ) 
 


Field Documentation

Standard_Boolean ShapeCustom_ConvertToBSpline::myExtrMode [private]
 

Standard_Boolean ShapeCustom_ConvertToBSpline::myOffsetMode [private]
 

Standard_Boolean ShapeCustom_ConvertToBSpline::myRevolMode [private]
 


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