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

ModelingAlgorithms
TKBO
IntTools


IntTools_Tools Class Reference

The class contains handy static functions
dealing with the geometry and topology.
.

#include <IntTools_Tools.hxx>


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 Standard_Integer ComputeVV (const TopoDS_Vertex &V1, const TopoDS_Vertex &V2)
 Computes distance between vertex V1 and vertex V2,
if the distance is less than sum of vertex tolerances
returns zero,
otherwise returns negative value
.
static Standard_EXPORT Standard_Boolean HasInternalEdge (const TopoDS_Wire &aW)
 Returns True if wire aW contains edges
with INTERNAL orientation
.
static Standard_EXPORT void MakeFaceFromWireAndFace (const TopoDS_Wire &aW, const TopoDS_Face &aF, TopoDS_Face &aFNew)
 Build a face based on surface of given face aF
and bounded by wire aW
.
static Standard_EXPORT TopAbs_State ClassifyPointByFace (const TopoDS_Face &aF, const gp_Pnt2d &P)
 

static Standard_EXPORT Standard_Boolean IsVertex (const TopoDS_Edge &E, const Standard_Real t)
 Computes square distance between a point on the edge E
corresponded to parameter t and vertices of edge E.
Returns True if this distance is less than square
tolerance of vertex, otherwise returns false.
.
static Standard_EXPORT Standard_Boolean IsVertex (const TopoDS_Edge &E, const TopoDS_Vertex &V, const Standard_Real t)
 Returns True if square distance between vertex V
and a point on the edge E corresponded to parameter t
is less than square tolerance of V
.
static Standard_EXPORT Standard_Boolean IsVertex (const IntTools_CommonPrt &aCmnPrt)
 Returns True if IsVertx for middle parameter of fist range
and first edge returns True
and if IsVertex for middle parameter of second range and
second range returns True,
otherwise returns False
.
static Standard_EXPORT Standard_Boolean IsMiddlePointsEqual (const TopoDS_Edge &E1, const TopoDS_Edge &E2)
 Gets boundary of parameters of E1 and E2.
Computes 3d points on each corresponded to average parameters.
Returns True if distance between computed points is less than
sum of edge tolerance, otherwise returns False.
.
static Standard_EXPORT Standard_Boolean IsVertex (const gp_Pnt &aP, const Standard_Real aTolPV, const TopoDS_Vertex &aV)
 Returns True if the distance between point aP and
vertex aV is less or equal to sum of aTolPV and
vertex tolerance, otherwise returns False
.
static Standard_EXPORT Standard_Real IntermediatePoint (const Standard_Real aFirst, const Standard_Real aLast)
 Returns some value between aFirst and aLast
.
static Standard_EXPORT Standard_Integer SplitCurve (const IntTools_Curve &aC, IntTools_SequenceOfCurves &aS)
 Split aC by average parameter if aC is closed in 3D.
Returns positive value if splitting has been done,
otherwise returns zero.
.
static Standard_EXPORT void RejectLines (const IntTools_SequenceOfCurves &aSIn, IntTools_SequenceOfCurves &aSOut)
 Puts curves from aSIn to aSOut except those curves that
are coincide with first curve from aSIn.
.
static Standard_EXPORT Standard_Boolean IsDirsCoinside (const gp_Dir &D1, const gp_Dir &D2)
 Returns True if D1 and D2 coinside

.
static Standard_EXPORT Standard_Boolean IsDirsCoinside (const gp_Dir &D1, const gp_Dir &D2, const Standard_Real aTol)
 Returns True if D1 and D2 coinside with given tolerance

.
static Standard_EXPORT Standard_Boolean IsClosed (const Handle(Geom_Curve)&aC)
 Returns True if aC is BoundedCurve from Geom and
the distance between first point
of the curve aC and last point
is less than 1.e-12
.
static Standard_EXPORT Standard_Real CurveTolerance (const Handle(Geom_Curve)&aC, const Standard_Real aTolBase)
 Returns adaptive tolerance for given aTolBase
if aC is trimmed curve and basis curve is parabola,
otherwise returns value of aTolBase
.


Member Function Documentation

static Standard_EXPORT TopAbs_State IntTools_Tools::ClassifyPointByFace const TopoDS_Face &  aF,
const gp_Pnt2d &  P
[static]
 

static Standard_EXPORT Standard_Integer IntTools_Tools::ComputeVV const TopoDS_Vertex &  V1,
const TopoDS_Vertex &  V2
[static]
 

static Standard_EXPORT Standard_Real IntTools_Tools::CurveTolerance const Handle(Geom_Curve)&  aC,
const Standard_Real  aTolBase
[static]
 

static Standard_EXPORT Standard_Boolean IntTools_Tools::HasInternalEdge const TopoDS_Wire &  aW  )  [static]
 

static Standard_EXPORT Standard_Real IntTools_Tools::IntermediatePoint const Standard_Real  aFirst,
const Standard_Real  aLast
[static]
 

static Standard_EXPORT Standard_Boolean IntTools_Tools::IsClosed const Handle(Geom_Curve)&  aC  )  [static]
 

static Standard_EXPORT Standard_Boolean IntTools_Tools::IsDirsCoinside const gp_Dir &  D1,
const gp_Dir &  D2,
const Standard_Real  aTol
[static]
 

static Standard_EXPORT Standard_Boolean IntTools_Tools::IsDirsCoinside const gp_Dir &  D1,
const gp_Dir &  D2
[static]
 

static Standard_EXPORT Standard_Boolean IntTools_Tools::IsMiddlePointsEqual const TopoDS_Edge &  E1,
const TopoDS_Edge &  E2
[static]
 

static Standard_EXPORT Standard_Boolean IntTools_Tools::IsVertex const gp_Pnt &  aP,
const Standard_Real  aTolPV,
const TopoDS_Vertex &  aV
[static]
 

static Standard_EXPORT Standard_Boolean IntTools_Tools::IsVertex const IntTools_CommonPrt aCmnPrt  )  [static]
 

static Standard_EXPORT Standard_Boolean IntTools_Tools::IsVertex const TopoDS_Edge &  E,
const TopoDS_Vertex &  V,
const Standard_Real  t
[static]
 

static Standard_EXPORT Standard_Boolean IntTools_Tools::IsVertex const TopoDS_Edge &  E,
const Standard_Real  t
[static]
 

static Standard_EXPORT void IntTools_Tools::MakeFaceFromWireAndFace const TopoDS_Wire &  aW,
const TopoDS_Face &  aF,
TopoDS_Face &  aFNew
[static]
 

void IntTools_Tools::operator delete void *  anAddress  )  [inline]
 

void* IntTools_Tools::operator new size_t  size  )  [inline]
 

void* IntTools_Tools::operator new size_t  ,
void *  anAddress
[inline]
 

static Standard_EXPORT void IntTools_Tools::RejectLines const IntTools_SequenceOfCurves aSIn,
IntTools_SequenceOfCurves aSOut
[static]
 

static Standard_EXPORT Standard_Integer IntTools_Tools::SplitCurve const IntTools_Curve aC,
IntTools_SequenceOfCurves aS
[static]
 


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