Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Static Public Member Functions
Contap_HContTool Class Reference

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

#include <Contap_HContTool.hxx>

Static Public Member Functions

static int NbSamplesU (const occ::handle< Adaptor3d_Surface > &S, const double u1, const double u2)
 
static int NbSamplesV (const occ::handle< Adaptor3d_Surface > &S, const double v1, const double v2)
 
static int NbSamplePoints (const occ::handle< Adaptor3d_Surface > &S)
 
static void SamplePoint (const occ::handle< Adaptor3d_Surface > &S, const int Index, double &U, double &V)
 
static bool HasBeenSeen (const occ::handle< Adaptor2d_Curve2d > &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.
 
static int NbSamplesOnArc (const occ::handle< Adaptor2d_Curve2d > &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.
 
static void Bounds (const occ::handle< Adaptor2d_Curve2d > &C, double &Ufirst, double &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.
 
static bool Project (const occ::handle< Adaptor2d_Curve2d > &C, const gp_Pnt2d &P, double &Paramproj, gp_Pnt2d &Ptproj)
 Projects the point P on the arc C. If the methods returns 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 false, Param proj and Ptproj are not significant.
 
static double Tolerance (const occ::handle< Adaptor3d_HVertex > &V, const occ::handle< Adaptor2d_Curve2d > &C)
 Returns the parametric tolerance used to consider that the vertex and another point meet, i-e if std::abs(parameter(Vertex) - parameter(OtherPnt))<= Tolerance, the points are "merged".
 
static double Parameter (const occ::handle< Adaptor3d_HVertex > &V, const occ::handle< Adaptor2d_Curve2d > &C)
 Returns the parameter of the vertex V on the arc A.
 
static int NbPoints (const occ::handle< Adaptor2d_Curve2d > &C)
 Returns the number of intersection points on the arc A.
 
static void Value (const occ::handle< Adaptor2d_Curve2d > &C, const int Index, gp_Pnt &Pt, double &Tol, double &U)
 Returns the value (Pt), the tolerance (Tol), and the parameter (U) on the arc A , of the intersection point of range Index.
 
static bool IsVertex (const occ::handle< Adaptor2d_Curve2d > &C, const int Index)
 Returns True if the intersection point of range Index corresponds with a vertex on the arc A.
 
static void Vertex (const occ::handle< Adaptor2d_Curve2d > &C, const int Index, occ::handle< Adaptor3d_HVertex > &V)
 When IsVertex returns True, this method returns the vertex on the arc A.
 
static int NbSegments (const occ::handle< Adaptor2d_Curve2d > &C)
 returns the number of part of A solution of the of intersection problem.
 
static bool HasFirstPoint (const occ::handle< Adaptor2d_Curve2d > &C, const int Index, int &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.
 
static bool HasLastPoint (const occ::handle< Adaptor2d_Curve2d > &C, const int Index, int &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.
 
static bool IsAllSolution (const occ::handle< Adaptor2d_Curve2d > &C)
 Returns True when the whole restriction is solution of the intersection problem.
 

Detailed Description

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

Member Function Documentation

◆ Bounds()

static void Contap_HContTool::Bounds ( const occ::handle< Adaptor2d_Curve2d > & C,
double & Ufirst,
double & 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 bool Contap_HContTool::HasBeenSeen ( const occ::handle< Adaptor2d_Curve2d > & 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 bool Contap_HContTool::HasFirstPoint ( const occ::handle< Adaptor2d_Curve2d > & C,
const int Index,
int & 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 bool Contap_HContTool::HasLastPoint ( const occ::handle< Adaptor2d_Curve2d > & C,
const int Index,
int & 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 bool Contap_HContTool::IsAllSolution ( const occ::handle< Adaptor2d_Curve2d > & C)
static

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

◆ IsVertex()

static bool Contap_HContTool::IsVertex ( const occ::handle< Adaptor2d_Curve2d > & C,
const int Index )
static

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

◆ NbPoints()

static int Contap_HContTool::NbPoints ( const occ::handle< Adaptor2d_Curve2d > & C)
static

Returns the number of intersection points on the arc A.

◆ NbSamplePoints()

static int Contap_HContTool::NbSamplePoints ( const occ::handle< Adaptor3d_Surface > & S)
static

◆ NbSamplesOnArc()

static int Contap_HContTool::NbSamplesOnArc ( const occ::handle< Adaptor2d_Curve2d > & 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 int Contap_HContTool::NbSamplesU ( const occ::handle< Adaptor3d_Surface > & S,
const double u1,
const double u2 )
static

◆ NbSamplesV()

static int Contap_HContTool::NbSamplesV ( const occ::handle< Adaptor3d_Surface > & S,
const double v1,
const double v2 )
static

◆ NbSegments()

static int Contap_HContTool::NbSegments ( const occ::handle< Adaptor2d_Curve2d > & C)
static

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

◆ Parameter()

static double Contap_HContTool::Parameter ( const occ::handle< Adaptor3d_HVertex > & V,
const occ::handle< Adaptor2d_Curve2d > & C )
static

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

◆ Project()

static bool Contap_HContTool::Project ( const occ::handle< Adaptor2d_Curve2d > & C,
const gp_Pnt2d & P,
double & Paramproj,
gp_Pnt2d & Ptproj )
static

Projects the point P on the arc C. If the methods returns 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 false, Param proj and Ptproj are not significant.

◆ SamplePoint()

static void Contap_HContTool::SamplePoint ( const occ::handle< Adaptor3d_Surface > & S,
const int Index,
double & U,
double & V )
static

◆ Tolerance()

static double Contap_HContTool::Tolerance ( const occ::handle< Adaptor3d_HVertex > & V,
const occ::handle< Adaptor2d_Curve2d > & C )
static

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

◆ Value()

static void Contap_HContTool::Value ( const occ::handle< Adaptor2d_Curve2d > & C,
const int Index,
gp_Pnt & Pt,
double & Tol,
double & 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 Contap_HContTool::Vertex ( const occ::handle< Adaptor2d_Curve2d > & C,
const int Index,
occ::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: