OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    IntPolyh_Point Class Reference

    The class represents the point on the surface with both 3D and 2D points. More...

    #include <IntPolyh_Point.hxx>

    Public Member Functions

     IntPolyh_Point ()
     Constructor.
     IntPolyh_Point (const double xx, const double yy, const double zz, const double u, const double vv)
     Constructor.
    double X () const
     Returns X coordinate of the 3D point.
    double Y () const
     Returns Y coordinate of the 3D point.
    double Z () const
     Returns the Z coordinate of the 3D point.
    double U () const
     Returns the U coordinate of the 2D point.
    double V () const
     Returns the V coordinate of the 2D point.
    int PartOfCommon () const
     Returns 0 if the point is not common with the other surface.
    void Set (const double xx, const double yy, const double zz, const double u, const double vv, const int II=1)
     Sets the point.
    void SetX (const double xx)
     Sets the X coordinate for the 3D point.
    void SetY (const double yy)
     Sets the Y coordinate for the 3D point.
    void SetZ (const double zz)
     Sets the Z coordinate for the 3D point.
    void SetU (const double u)
     Sets the U coordinate for the 2D point.
    void SetV (const double vv)
     Sets the V coordinate for the 2D point.
    void SetPartOfCommon (const int ii)
     Sets the part of common.
    void Middle (const occ::handle< Adaptor3d_Surface > &MySurface, const IntPolyh_Point &P1, const IntPolyh_Point &P2)
     Creates middle point from P1 and P2 and stores it to this.
    IntPolyh_Point Add (const IntPolyh_Point &P1) const
     Addition.
    IntPolyh_Point operator+ (const IntPolyh_Point &P1) const
    IntPolyh_Point Sub (const IntPolyh_Point &P1) const
     Subtraction.
    IntPolyh_Point operator- (const IntPolyh_Point &P1) const
    IntPolyh_Point Divide (const double rr) const
     Division.
    IntPolyh_Point operator/ (const double rr) const
    IntPolyh_Point Multiplication (const double rr) const
     Multiplication.
    IntPolyh_Point operator* (const double rr) const
    double SquareModulus () const
     Square modulus.
    double SquareDistance (const IntPolyh_Point &P2) const
     Square distance to the other point.
    double Dot (const IntPolyh_Point &P2) const
     Dot.
    void Cross (const IntPolyh_Point &P1, const IntPolyh_Point &P2)
     Cross.
    void Dump () const
     Dump.
    void Dump (const int i) const
     Dump.
    void SetDegenerated (const bool theFlag)
     Sets the degenerated flag.
    bool Degenerated () const
     Returns the degenerated flag.

    Detailed Description

    The class represents the point on the surface with both 3D and 2D points.

    Constructor & Destructor Documentation

    ◆ IntPolyh_Point() [1/2]

    IntPolyh_Point::IntPolyh_Point ( )
    inline

    Constructor.

    ◆ IntPolyh_Point() [2/2]

    IntPolyh_Point::IntPolyh_Point ( const double x,
    const double y,
    const double z,
    const double u,
    const double v )
    inline

    Constructor.

    Member Function Documentation

    ◆ Add()

    IntPolyh_Point IntPolyh_Point::Add ( const IntPolyh_Point & P1) const

    Addition.

    ◆ Cross()

    void IntPolyh_Point::Cross ( const IntPolyh_Point & P1,
    const IntPolyh_Point & P2 )

    Cross.

    ◆ Degenerated()

    bool IntPolyh_Point::Degenerated ( ) const
    inline

    Returns the degenerated flag.

    ◆ Divide()

    IntPolyh_Point IntPolyh_Point::Divide ( const double rr) const

    Division.

    ◆ Dot()

    double IntPolyh_Point::Dot ( const IntPolyh_Point & P2) const

    Dot.

    ◆ Dump() [1/2]

    void IntPolyh_Point::Dump ( ) const

    Dump.

    ◆ Dump() [2/2]

    void IntPolyh_Point::Dump ( const int i) const

    Dump.

    ◆ Middle()

    void IntPolyh_Point::Middle ( const occ::handle< Adaptor3d_Surface > & MySurface,
    const IntPolyh_Point & P1,
    const IntPolyh_Point & P2 )

    Creates middle point from P1 and P2 and stores it to this.

    ◆ Multiplication()

    IntPolyh_Point IntPolyh_Point::Multiplication ( const double rr) const

    Multiplication.

    ◆ operator*()

    IntPolyh_Point IntPolyh_Point::operator* ( const double rr) const
    inline

    ◆ operator+()

    IntPolyh_Point IntPolyh_Point::operator+ ( const IntPolyh_Point & P1) const
    inline

    ◆ operator-()

    IntPolyh_Point IntPolyh_Point::operator- ( const IntPolyh_Point & P1) const
    inline

    ◆ operator/()

    IntPolyh_Point IntPolyh_Point::operator/ ( const double rr) const
    inline

    ◆ PartOfCommon()

    int IntPolyh_Point::PartOfCommon ( ) const
    inline

    Returns 0 if the point is not common with the other surface.

    ◆ Set()

    void IntPolyh_Point::Set ( const double x,
    const double y,
    const double z,
    const double u,
    const double v,
    const int II = 1 )
    inline

    Sets the point.

    ◆ SetDegenerated()

    void IntPolyh_Point::SetDegenerated ( const bool theFlag)
    inline

    Sets the degenerated flag.

    ◆ SetPartOfCommon()

    void IntPolyh_Point::SetPartOfCommon ( const int ii)
    inline

    Sets the part of common.

    ◆ SetU()

    void IntPolyh_Point::SetU ( const double u)
    inline

    Sets the U coordinate for the 2D point.

    ◆ SetV()

    void IntPolyh_Point::SetV ( const double v)
    inline

    Sets the V coordinate for the 2D point.

    ◆ SetX()

    void IntPolyh_Point::SetX ( const double x)
    inline

    Sets the X coordinate for the 3D point.

    ◆ SetY()

    void IntPolyh_Point::SetY ( const double y)
    inline

    Sets the Y coordinate for the 3D point.

    ◆ SetZ()

    void IntPolyh_Point::SetZ ( const double z)
    inline

    Sets the Z coordinate for the 3D point.

    ◆ SquareDistance()

    double IntPolyh_Point::SquareDistance ( const IntPolyh_Point & P2) const

    Square distance to the other point.

    ◆ SquareModulus()

    double IntPolyh_Point::SquareModulus ( ) const

    Square modulus.

    ◆ Sub()

    IntPolyh_Point IntPolyh_Point::Sub ( const IntPolyh_Point & P1) const

    Subtraction.

    ◆ U()

    double IntPolyh_Point::U ( ) const
    inline

    Returns the U coordinate of the 2D point.

    ◆ V()

    double IntPolyh_Point::V ( ) const
    inline

    Returns the V coordinate of the 2D point.

    ◆ X()

    double IntPolyh_Point::X ( ) const
    inline

    Returns X coordinate of the 3D point.

    ◆ Y()

    double IntPolyh_Point::Y ( ) const
    inline

    Returns Y coordinate of the 3D point.

    ◆ Z()

    double IntPolyh_Point::Z ( ) const
    inline

    Returns the Z coordinate of the 3D point.


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