Open CASCADE Technology 6.6.0
|
This class provides a default topological tool,
based on the Umin,Vmin,Umax,Vmax of an HSurface
from Adaptor3d.
All methods and fields may be redefined when
inheriting from this class.
This class is used to instantiate algorithmes
as Intersection, outlines,...
#include <Adaptor3d_TopolTool.hxx>
Public Member Functions | |
Adaptor3d_TopolTool () | |
Adaptor3d_TopolTool (const Handle< Adaptor3d_HSurface > &Surface) | |
virtual void | Initialize () |
virtual void | Initialize (const Handle< Adaptor3d_HSurface > &S) |
virtual void | Initialize (const Handle< Adaptor2d_HCurve2d > &Curve) |
virtual void | Init () |
virtual Standard_Boolean | More () |
virtual Handle_Adaptor2d_HCurve2d | Value () |
virtual void | Next () |
virtual void | InitVertexIterator () |
virtual Standard_Boolean | MoreVertex () |
virtual Handle_Adaptor3d_HVertex | Vertex () |
virtual void | NextVertex () |
virtual TopAbs_State | Classify (const gp_Pnt2d &P, const Standard_Real Tol, const Standard_Boolean ReacdreOnPeriodic=Standard_True) |
virtual Standard_Boolean | IsThePointOn (const gp_Pnt2d &P, const Standard_Real Tol, const Standard_Boolean ReacdreOnPeriodic=Standard_True) |
virtual TopAbs_Orientation | Orientation (const Handle< Adaptor2d_HCurve2d > &C) |
If the function returns the orientation of the arc. If the orientation is FORWARD or REVERSED, the arc is a "real" limit of the surface. If the orientation is INTERNAL or EXTERNAL, the arc is considered as an arc on the surface. | |
virtual TopAbs_Orientation | Orientation (const Handle< Adaptor3d_HVertex > &V) |
Returns the orientation of the vertex V. The vertex has been found with an exploration on a given arc. The orientation is the orientation of the vertex on this arc. | |
virtual Standard_Boolean | Identical (const Handle< Adaptor3d_HVertex > &V1, const Handle< Adaptor3d_HVertex > &V2) |
Returns True if the vertices V1 and V2 are identical. This method does not take the orientation of the vertices in account. | |
virtual Standard_Boolean | Has3d () const |
answers if arcs and vertices may have 3d representations, so that we could use Tol3d and Pnt methods. | |
virtual Standard_Real | Tol3d (const Handle< Adaptor2d_HCurve2d > &C) const |
returns 3d tolerance of the arc C | |
virtual Standard_Real | Tol3d (const Handle< Adaptor3d_HVertex > &V) const |
returns 3d tolerance of the vertex V | |
virtual gp_Pnt | Pnt (const Handle< Adaptor3d_HVertex > &V) const |
returns 3d point of the vertex V | |
virtual void | ComputeSamplePoints () |
virtual Standard_Integer | NbSamplesU () |
compute the sample-points for the intersections algorithms | |
virtual Standard_Integer | NbSamplesV () |
compute the sample-points for the intersections algorithms | |
virtual Standard_Integer | NbSamples () |
compute the sample-points for the intersections algorithms | |
void | UParameters (TColStd_Array1OfReal &theArray) const |
return the set of U parameters on the surface obtained by the method SamplePnts | |
void | VParameters (TColStd_Array1OfReal &theArray) const |
return the set of V parameters on the surface obtained by the method SamplePnts | |
virtual void | SamplePoint (const Standard_Integer Index, gp_Pnt2d &P2d, gp_Pnt &P3d) |
virtual Standard_Boolean | DomainIsInfinite () |
virtual Standard_Address | Edge () const |
virtual void | SamplePnts (const Standard_Real theDefl, const Standard_Integer theNUmin, const Standard_Integer theNVmin) |
compute the sample-points for the intersections algorithms by adaptive algorithm for BSpline surfaces. For other surfaces algorithm is the same as in method ComputeSamplePoints(), but only fill arrays of U and V sample parameters; theDefl is a requred deflection theNUmin, theNVmin are minimal nb points for U and V. | |
virtual void | BSplSamplePnts (const Standard_Real theDefl, const Standard_Integer theNUmin, const Standard_Integer theNVmin) |
compute the sample-points for the intersections algorithms by adaptive algorithm for BSpline surfaces - is used in SamplePnts theDefl is a requred deflection theNUmin, theNVmin are minimal nb points for U and V. | |
virtual Standard_Boolean | IsUniformSampling () const |
Returns true if provide uniform sampling of points. | |
Protected Attributes | |
Handle_Adaptor3d_HSurface | myS |
Standard_Integer | myNbSamplesU |
Standard_Integer | myNbSamplesV |
Handle_TColStd_HArray1OfReal | myUPars |
Handle_TColStd_HArray1OfReal | myVPars |
Adaptor3d_TopolTool::Adaptor3d_TopolTool | ( | ) |
Adaptor3d_TopolTool::Adaptor3d_TopolTool | ( | const Handle< Adaptor3d_HSurface > & | Surface | ) |
virtual void Adaptor3d_TopolTool::BSplSamplePnts | ( | const Standard_Real | theDefl, |
const Standard_Integer | theNUmin, | ||
const Standard_Integer | theNVmin | ||
) | [virtual] |
virtual TopAbs_State Adaptor3d_TopolTool::Classify | ( | const gp_Pnt2d & | P, |
const Standard_Real | Tol, | ||
const Standard_Boolean | ReacdreOnPeriodic = Standard_True |
||
) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual void Adaptor3d_TopolTool::ComputeSamplePoints | ( | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool, and IntTools_TopolTool.
virtual Standard_Boolean Adaptor3d_TopolTool::DomainIsInfinite | ( | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual Standard_Address Adaptor3d_TopolTool::Edge | ( | ) | const [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual Standard_Boolean Adaptor3d_TopolTool::Has3d | ( | ) | const [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual Standard_Boolean Adaptor3d_TopolTool::Identical | ( | const Handle< Adaptor3d_HVertex > & | V1, |
const Handle< Adaptor3d_HVertex > & | V2 | ||
) | [virtual] |
virtual void Adaptor3d_TopolTool::Init | ( | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual void Adaptor3d_TopolTool::Initialize | ( | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool, and IntTools_TopolTool.
virtual void Adaptor3d_TopolTool::Initialize | ( | const Handle< Adaptor3d_HSurface > & | S | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool, and IntTools_TopolTool.
virtual void Adaptor3d_TopolTool::Initialize | ( | const Handle< Adaptor2d_HCurve2d > & | Curve | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual void Adaptor3d_TopolTool::InitVertexIterator | ( | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual Standard_Boolean Adaptor3d_TopolTool::IsThePointOn | ( | const gp_Pnt2d & | P, |
const Standard_Real | Tol, | ||
const Standard_Boolean | ReacdreOnPeriodic = Standard_True |
||
) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual Standard_Boolean Adaptor3d_TopolTool::IsUniformSampling | ( | ) | const [virtual] |
virtual Standard_Boolean Adaptor3d_TopolTool::More | ( | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual Standard_Boolean Adaptor3d_TopolTool::MoreVertex | ( | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual Standard_Integer Adaptor3d_TopolTool::NbSamples | ( | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool, and IntTools_TopolTool.
virtual Standard_Integer Adaptor3d_TopolTool::NbSamplesU | ( | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool, and IntTools_TopolTool.
virtual Standard_Integer Adaptor3d_TopolTool::NbSamplesV | ( | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool, and IntTools_TopolTool.
virtual void Adaptor3d_TopolTool::Next | ( | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual void Adaptor3d_TopolTool::NextVertex | ( | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual TopAbs_Orientation Adaptor3d_TopolTool::Orientation | ( | const Handle< Adaptor2d_HCurve2d > & | C | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual TopAbs_Orientation Adaptor3d_TopolTool::Orientation | ( | const Handle< Adaptor3d_HVertex > & | V | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual gp_Pnt Adaptor3d_TopolTool::Pnt | ( | const Handle< Adaptor3d_HVertex > & | V | ) | const [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual void Adaptor3d_TopolTool::SamplePnts | ( | const Standard_Real | theDefl, |
const Standard_Integer | theNUmin, | ||
const Standard_Integer | theNVmin | ||
) | [virtual] |
Reimplemented in IntTools_TopolTool.
virtual void Adaptor3d_TopolTool::SamplePoint | ( | const Standard_Integer | Index, |
gp_Pnt2d & | P2d, | ||
gp_Pnt & | P3d | ||
) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool, and IntTools_TopolTool.
virtual Standard_Real Adaptor3d_TopolTool::Tol3d | ( | const Handle< Adaptor2d_HCurve2d > & | C | ) | const [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual Standard_Real Adaptor3d_TopolTool::Tol3d | ( | const Handle< Adaptor3d_HVertex > & | V | ) | const [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
void Adaptor3d_TopolTool::UParameters | ( | TColStd_Array1OfReal & | theArray | ) | const |
virtual Handle_Adaptor2d_HCurve2d Adaptor3d_TopolTool::Value | ( | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
virtual Handle_Adaptor3d_HVertex Adaptor3d_TopolTool::Vertex | ( | ) | [virtual] |
Reimplemented in BRepTopAdaptor_TopolTool.
void Adaptor3d_TopolTool::VParameters | ( | TColStd_Array1OfReal & | theArray | ) | const |
Standard_Integer Adaptor3d_TopolTool::myNbSamplesU [protected] |
Standard_Integer Adaptor3d_TopolTool::myNbSamplesV [protected] |
Handle_Adaptor3d_HSurface Adaptor3d_TopolTool::myS [protected] |
Handle_TColStd_HArray1OfReal Adaptor3d_TopolTool::myUPars [protected] |
Handle_TColStd_HArray1OfReal Adaptor3d_TopolTool::myVPars [protected] |