Open CASCADE Technology  7.3.0
Public Member Functions | Static Public Member Functions

IntPatch_HInterTool Class Reference

Tool for the intersection between 2 surfaces. Regroupe pour l instant les methodes hors Adaptor3d... More...

#include <IntPatch_HInterTool.hxx>

Public Member Functions

 IntPatch_HInterTool ()
 
Standard_Integer NbSamplePoints (const Handle< Adaptor3d_HSurface > &S)
 
void SamplePoint (const Handle< Adaptor3d_HSurface > &S, const Standard_Integer Index, Standard_Real &U, Standard_Real &V) const
 

Static Public Member Functions

static Standard_Boolean SingularOnUMin (const Handle< Adaptor3d_HSurface > &S)
 
static Standard_Boolean SingularOnUMax (const Handle< Adaptor3d_HSurface > &S)
 
static Standard_Boolean SingularOnVMin (const Handle< Adaptor3d_HSurface > &S)
 
static Standard_Boolean SingularOnVMax (const Handle< Adaptor3d_HSurface > &S)
 
static Standard_Integer NbSamplesU (const Handle< Adaptor3d_HSurface > &S, const Standard_Real u1, const Standard_Real u2)
 
static Standard_Integer NbSamplesV (const Handle< Adaptor3d_HSurface > &S, const Standard_Real v1, const Standard_Real v2)
 
static Standard_Boolean HasBeenSeen (const Handle< Adaptor2d_HCurve2d > &C)
 Returns True if all the intersection point and edges are known on the Arc. The intersection point are given as vertices. The intersection edges are given as intervals between two vertices. More...
 
static Standard_Integer NbSamplesOnArc (const Handle< Adaptor2d_HCurve2d > &A)
 returns the number of points which is used to make a sample on the arc. this number is a function of the Surface and the CurveOnSurface complexity. More...
 
static void Bounds (const Handle< Adaptor2d_HCurve2d > &C, Standard_Real &Ufirst, Standard_Real &Ulast)
 Returns the parametric limits on the arc C. These limits must be finite : they are either the real limits of the arc, for a finite arc, or a bounding box for an infinite arc. More...
 
static Standard_Boolean Project (const Handle< Adaptor2d_HCurve2d > &C, const gp_Pnt2d &P, Standard_Real &Paramproj, gp_Pnt2d &Ptproj)
 Projects the point P on the arc C. If the methods returns Standard_True, the projection is successful, and Paramproj is the parameter on the arc of the projected point, Ptproj is the projected Point. If the method returns Standard_False, Param proj and Ptproj are not significant. More...
 
static Standard_Real Tolerance (const Handle< Adaptor3d_HVertex > &V, const Handle< Adaptor2d_HCurve2d > &C)
 Returns the parametric tolerance used to consider that the vertex and another point meet, i-e if Abs(parameter(Vertex) - parameter(OtherPnt))<= Tolerance, the points are "merged". More...
 
static Standard_Real Parameter (const Handle< Adaptor3d_HVertex > &V, const Handle< Adaptor2d_HCurve2d > &C)
 Returns the parameter of the vertex V on the arc A. More...
 
static Standard_Integer NbPoints (const Handle< Adaptor2d_HCurve2d > &C)
 Returns the number of intersection points on the arc A. More...
 
static void Value (const Handle< Adaptor2d_HCurve2d > &C, const Standard_Integer Index, gp_Pnt &Pt, Standard_Real &Tol, Standard_Real &U)
 Returns the value (Pt), the tolerance (Tol), and the parameter (U) on the arc A , of the intersection point of range Index. More...
 
static Standard_Boolean IsVertex (const Handle< Adaptor2d_HCurve2d > &C, const Standard_Integer Index)
 Returns True if the intersection point of range Index corresponds with a vertex on the arc A. More...
 
static void Vertex (const Handle< Adaptor2d_HCurve2d > &C, const Standard_Integer Index, Handle< Adaptor3d_HVertex > &V)
 When IsVertex returns True, this method returns the vertex on the arc A. More...
 
static Standard_Integer NbSegments (const Handle< Adaptor2d_HCurve2d > &C)
 returns the number of part of A solution of the of intersection problem. More...
 
static Standard_Boolean HasFirstPoint (const Handle< Adaptor2d_HCurve2d > &C, const Standard_Integer Index, Standard_Integer &IndFirst)
 Returns True when the segment of range Index is not open at the left side. In that case, IndFirst is the range in the list intersection points (see NbPoints) of the one which defines the left bound of the segment. Otherwise, the method has to return False, and IndFirst has no meaning. More...
 
static Standard_Boolean HasLastPoint (const Handle< Adaptor2d_HCurve2d > &C, const Standard_Integer Index, Standard_Integer &IndLast)
 Returns True when the segment of range Index is not open at the right side. In that case, IndLast is the range in the list intersection points (see NbPoints) of the one which defines the right bound of the segment. Otherwise, the method has to return False, and IndLast has no meaning. More...
 
static Standard_Boolean IsAllSolution (const Handle< Adaptor2d_HCurve2d > &C)
 Returns True when the whole restriction is solution of the intersection problem. More...
 

Detailed Description

Tool for the intersection between 2 surfaces. Regroupe pour l instant les methodes hors Adaptor3d...

Constructor & Destructor Documentation

◆ IntPatch_HInterTool()

IntPatch_HInterTool::IntPatch_HInterTool ( )

Member Function Documentation

◆ Bounds()

static void IntPatch_HInterTool::Bounds ( const Handle< Adaptor2d_HCurve2d > &  C,
Standard_Real Ufirst,
Standard_Real Ulast 
)
static

Returns the parametric limits on the arc C. These limits must be finite : they are either the real limits of the arc, for a finite arc, or a bounding box for an infinite arc.

◆ HasBeenSeen()

static Standard_Boolean IntPatch_HInterTool::HasBeenSeen ( const Handle< Adaptor2d_HCurve2d > &  C)
static

Returns True if all the intersection point and edges are known on the Arc. The intersection point are given as vertices. The intersection edges are given as intervals between two vertices.

◆ HasFirstPoint()

static Standard_Boolean IntPatch_HInterTool::HasFirstPoint ( const Handle< Adaptor2d_HCurve2d > &  C,
const Standard_Integer  Index,
Standard_Integer IndFirst 
)
static

Returns True when the segment of range Index is not open at the left side. In that case, IndFirst is the range in the list intersection points (see NbPoints) of the one which defines the left bound of the segment. Otherwise, the method has to return False, and IndFirst has no meaning.

◆ HasLastPoint()

static Standard_Boolean IntPatch_HInterTool::HasLastPoint ( const Handle< Adaptor2d_HCurve2d > &  C,
const Standard_Integer  Index,
Standard_Integer IndLast 
)
static

Returns True when the segment of range Index is not open at the right side. In that case, IndLast is the range in the list intersection points (see NbPoints) of the one which defines the right bound of the segment. Otherwise, the method has to return False, and IndLast has no meaning.

◆ IsAllSolution()

static Standard_Boolean IntPatch_HInterTool::IsAllSolution ( const Handle< Adaptor2d_HCurve2d > &  C)
static

Returns True when the whole restriction is solution of the intersection problem.

◆ IsVertex()

static Standard_Boolean IntPatch_HInterTool::IsVertex ( const Handle< Adaptor2d_HCurve2d > &  C,
const Standard_Integer  Index 
)
static

Returns True if the intersection point of range Index corresponds with a vertex on the arc A.

◆ NbPoints()

static Standard_Integer IntPatch_HInterTool::NbPoints ( const Handle< Adaptor2d_HCurve2d > &  C)
static

Returns the number of intersection points on the arc A.

◆ NbSamplePoints()

Standard_Integer IntPatch_HInterTool::NbSamplePoints ( const Handle< Adaptor3d_HSurface > &  S)

◆ NbSamplesOnArc()

static Standard_Integer IntPatch_HInterTool::NbSamplesOnArc ( const Handle< Adaptor2d_HCurve2d > &  A)
static

returns the number of points which is used to make a sample on the arc. this number is a function of the Surface and the CurveOnSurface complexity.

◆ NbSamplesU()

static Standard_Integer IntPatch_HInterTool::NbSamplesU ( const Handle< Adaptor3d_HSurface > &  S,
const Standard_Real  u1,
const Standard_Real  u2 
)
static

◆ NbSamplesV()

static Standard_Integer IntPatch_HInterTool::NbSamplesV ( const Handle< Adaptor3d_HSurface > &  S,
const Standard_Real  v1,
const Standard_Real  v2 
)
static

◆ NbSegments()

static Standard_Integer IntPatch_HInterTool::NbSegments ( const Handle< Adaptor2d_HCurve2d > &  C)
static

returns the number of part of A solution of the of intersection problem.

◆ Parameter()

static Standard_Real IntPatch_HInterTool::Parameter ( const Handle< Adaptor3d_HVertex > &  V,
const Handle< Adaptor2d_HCurve2d > &  C 
)
static

Returns the parameter of the vertex V on the arc A.

◆ Project()

static Standard_Boolean IntPatch_HInterTool::Project ( const Handle< Adaptor2d_HCurve2d > &  C,
const gp_Pnt2d P,
Standard_Real Paramproj,
gp_Pnt2d Ptproj 
)
static

Projects the point P on the arc C. If the methods returns Standard_True, the projection is successful, and Paramproj is the parameter on the arc of the projected point, Ptproj is the projected Point. If the method returns Standard_False, Param proj and Ptproj are not significant.

◆ SamplePoint()

void IntPatch_HInterTool::SamplePoint ( const Handle< Adaptor3d_HSurface > &  S,
const Standard_Integer  Index,
Standard_Real U,
Standard_Real V 
) const

◆ SingularOnUMax()

static Standard_Boolean IntPatch_HInterTool::SingularOnUMax ( const Handle< Adaptor3d_HSurface > &  S)
static

◆ SingularOnUMin()

static Standard_Boolean IntPatch_HInterTool::SingularOnUMin ( const Handle< Adaptor3d_HSurface > &  S)
static

◆ SingularOnVMax()

static Standard_Boolean IntPatch_HInterTool::SingularOnVMax ( const Handle< Adaptor3d_HSurface > &  S)
static

◆ SingularOnVMin()

static Standard_Boolean IntPatch_HInterTool::SingularOnVMin ( const Handle< Adaptor3d_HSurface > &  S)
static

◆ Tolerance()

static Standard_Real IntPatch_HInterTool::Tolerance ( const Handle< Adaptor3d_HVertex > &  V,
const Handle< Adaptor2d_HCurve2d > &  C 
)
static

Returns the parametric tolerance used to consider that the vertex and another point meet, i-e if Abs(parameter(Vertex) - parameter(OtherPnt))<= Tolerance, the points are "merged".

◆ Value()

static void IntPatch_HInterTool::Value ( const Handle< Adaptor2d_HCurve2d > &  C,
const Standard_Integer  Index,
gp_Pnt Pt,
Standard_Real Tol,
Standard_Real U 
)
static

Returns the value (Pt), the tolerance (Tol), and the parameter (U) on the arc A , of the intersection point of range Index.

◆ Vertex()

static void IntPatch_HInterTool::Vertex ( const Handle< Adaptor2d_HCurve2d > &  C,
const Standard_Integer  Index,
Handle< Adaptor3d_HVertex > &  V 
)
static

When IsVertex returns True, this method returns the vertex on the arc A.


The documentation for this class was generated from the following file: