OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Contap_Point Class Reference

    Definition of a vertex on the contour line. Most of the time, such a point is an intersection between the contour and a restriction of the surface. When it is not the method IsOnArc return False. Such a point is contains geometrical information (see the Value method) and logical information. More...

    #include <Contap_Point.hxx>

    Public Member Functions

     Contap_Point ()
     Empty constructor.
     Contap_Point (const gp_Pnt &Pt, const double U, const double V)
     Creates a point.
    void SetValue (const gp_Pnt &Pt, const double U, const double V)
     Sets the values for a point.
    void SetParameter (const double Para)
     Set the value of the parameter on the intersection line.
    void SetVertex (const occ::handle< Adaptor3d_HVertex > &V)
     Sets the values of a point which is a vertex on the initial facet of restriction of one of the surface.
    void SetArc (const occ::handle< Adaptor2d_Curve2d > &A, const double Param, const IntSurf_Transition &TLine, const IntSurf_Transition &TArc)
     Sets the value of the arc and of the parameter on this arc of the point.
    void SetMultiple ()
    void SetInternal ()
    const gp_Pnt & Value () const
     Returns the intersection point (geometric information).
    double ParameterOnLine () const
     This method returns the parameter of the point on the intersection line. If the points does not belong to an intersection line, the value returned does not have any sens.
    void Parameters (double &U1, double &V1) const
     Returns the parameters on the surface of the point.
    bool IsOnArc () const
     Returns True when the point is an intersection between the contour and a restriction.
    const occ::handle< Adaptor2d_Curve2d > & Arc () const
     Returns the arc of restriction containing the vertex.
    double ParameterOnArc () const
     Returns the parameter of the point on the arc returned by the method Arc().
    const IntSurf_Transition & TransitionOnLine () const
     Returns the transition of the point on the contour.
    const IntSurf_Transition & TransitionOnArc () const
     Returns the transition of the point on the arc.
    bool IsVertex () const
     Returns TRUE if the point is a vertex on the initial restriction facet of the surface.
    const occ::handle< Adaptor3d_HVertex > & Vertex () const
     Returns the information about the point when it is on the domain of the patch, i-e when the function IsVertex returns True. Otherwise, an exception is raised.
    bool IsMultiple () const
     Returns True if the point belongs to several lines.
    bool IsInternal () const
     Returns True if the point is an internal one, i.e if the tangent to the line on the point and the eye direction are parallel.

    Detailed Description

    Definition of a vertex on the contour line. Most of the time, such a point is an intersection between the contour and a restriction of the surface. When it is not the method IsOnArc return False. Such a point is contains geometrical information (see the Value method) and logical information.

    Constructor & Destructor Documentation

    ◆ Contap_Point() [1/2]

    Contap_Point::Contap_Point ( )

    Empty constructor.

    ◆ Contap_Point() [2/2]

    Contap_Point::Contap_Point ( const gp_Pnt & Pt,
    const double U,
    const double V )

    Creates a point.

    Member Function Documentation

    ◆ Arc()

    const occ::handle< Adaptor2d_Curve2d > & Contap_Point::Arc ( ) const

    Returns the arc of restriction containing the vertex.

    ◆ IsInternal()

    bool Contap_Point::IsInternal ( ) const

    Returns True if the point is an internal one, i.e if the tangent to the line on the point and the eye direction are parallel.

    ◆ IsMultiple()

    bool Contap_Point::IsMultiple ( ) const

    Returns True if the point belongs to several lines.

    ◆ IsOnArc()

    bool Contap_Point::IsOnArc ( ) const

    Returns True when the point is an intersection between the contour and a restriction.

    ◆ IsVertex()

    bool Contap_Point::IsVertex ( ) const

    Returns TRUE if the point is a vertex on the initial restriction facet of the surface.

    ◆ ParameterOnArc()

    double Contap_Point::ParameterOnArc ( ) const

    Returns the parameter of the point on the arc returned by the method Arc().

    ◆ ParameterOnLine()

    double Contap_Point::ParameterOnLine ( ) const

    This method returns the parameter of the point on the intersection line. If the points does not belong to an intersection line, the value returned does not have any sens.

    ◆ Parameters()

    void Contap_Point::Parameters ( double & U1,
    double & V1 ) const

    Returns the parameters on the surface of the point.

    ◆ SetArc()

    void Contap_Point::SetArc ( const occ::handle< Adaptor2d_Curve2d > & A,
    const double Param,
    const IntSurf_Transition & TLine,
    const IntSurf_Transition & TArc )

    Sets the value of the arc and of the parameter on this arc of the point.

    ◆ SetInternal()

    void Contap_Point::SetInternal ( )

    ◆ SetMultiple()

    void Contap_Point::SetMultiple ( )

    ◆ SetParameter()

    void Contap_Point::SetParameter ( const double Para)

    Set the value of the parameter on the intersection line.

    ◆ SetValue()

    void Contap_Point::SetValue ( const gp_Pnt & Pt,
    const double U,
    const double V )

    Sets the values for a point.

    ◆ SetVertex()

    void Contap_Point::SetVertex ( const occ::handle< Adaptor3d_HVertex > & V)

    Sets the values of a point which is a vertex on the initial facet of restriction of one of the surface.

    ◆ TransitionOnArc()

    const IntSurf_Transition & Contap_Point::TransitionOnArc ( ) const

    Returns the transition of the point on the arc.

    ◆ TransitionOnLine()

    const IntSurf_Transition & Contap_Point::TransitionOnLine ( ) const

    Returns the transition of the point on the contour.

    ◆ Value()

    const gp_Pnt & Contap_Point::Value ( ) const

    Returns the intersection point (geometric information).

    ◆ Vertex()

    const occ::handle< Adaptor3d_HVertex > & Contap_Point::Vertex ( ) const

    Returns the information about the point when it is on the domain of the patch, i-e when the function IsVertex returns True. Otherwise, an exception is raised.


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