OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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 ()
    int NbSamplePoints (const occ::handle< Adaptor3d_Surface > &S)
    void SamplePoint (const occ::handle< Adaptor3d_Surface > &S, const int Index, double &U, double &V) const

    Static Public Member Functions

    static bool SingularOnUMin (const occ::handle< Adaptor3d_Surface > &S)
    static bool SingularOnUMax (const occ::handle< Adaptor3d_Surface > &S)
    static bool SingularOnVMin (const occ::handle< Adaptor3d_Surface > &S)
    static bool SingularOnVMax (const occ::handle< Adaptor3d_Surface > &S)
    static int NbSamplesU (const occ::handle< Adaptor3d_Surface > &S, const double u1u1, const double u2u2)
    static int NbSamplesV (const occ::handle< Adaptor3d_Surface > &S, const double v1v1, const double v2v2)
    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...

    Constructor & Destructor Documentation

    ◆ IntPatch_HInterTool()

    IntPatch_HInterTool::IntPatch_HInterTool ( )

    Member Function Documentation

    ◆ Bounds()

    void IntPatch_HInterTool::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()

    bool IntPatch_HInterTool::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()

    bool IntPatch_HInterTool::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()

    bool IntPatch_HInterTool::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()

    bool IntPatch_HInterTool::IsAllSolution ( const occ::handle< Adaptor2d_Curve2d > & C)
    static

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

    ◆ IsVertex()

    bool IntPatch_HInterTool::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()

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

    Returns the number of intersection points on the arc A.

    ◆ NbSamplePoints()

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

    ◆ NbSamplesOnArc()

    int IntPatch_HInterTool::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()

    int IntPatch_HInterTool::NbSamplesU ( const occ::handle< Adaptor3d_Surface > & S,
    const double u1,
    const double u2 )
    static

    ◆ NbSamplesV()

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

    ◆ NbSegments()

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

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

    ◆ Parameter()

    double IntPatch_HInterTool::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()

    bool IntPatch_HInterTool::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()

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

    ◆ SingularOnUMax()

    bool IntPatch_HInterTool::SingularOnUMax ( const occ::handle< Adaptor3d_Surface > & S)
    static

    ◆ SingularOnUMin()

    bool IntPatch_HInterTool::SingularOnUMin ( const occ::handle< Adaptor3d_Surface > & S)
    static

    ◆ SingularOnVMax()

    bool IntPatch_HInterTool::SingularOnVMax ( const occ::handle< Adaptor3d_Surface > & S)
    static

    ◆ SingularOnVMin()

    bool IntPatch_HInterTool::SingularOnVMin ( const occ::handle< Adaptor3d_Surface > & S)
    static

    ◆ Tolerance()

    double IntPatch_HInterTool::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()

    void IntPatch_HInterTool::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()

    void IntPatch_HInterTool::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: