Open CASCADE Technology 7.8.2.dev
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 Standard_Real x, const Standard_Real y, const Standard_Real z, const Standard_Real u, const Standard_Real v)
 Constructor.
 
Standard_Real X () const
 Returns X coordinate of the 3D point.
 
Standard_Real Y () const
 Returns Y coordinate of the 3D point.
 
Standard_Real Z () const
 Returns the Z coordinate of the 3D point.
 
Standard_Real U () const
 Returns the U coordinate of the 2D point.
 
Standard_Real V () const
 Returns the V coordinate of the 2D point.
 
Standard_Integer PartOfCommon () const
 Returns 0 if the point is not common with the other surface.
 
void Set (const Standard_Real x, const Standard_Real y, const Standard_Real z, const Standard_Real u, const Standard_Real v, const Standard_Integer II=1)
 Sets the point.
 
void SetX (const Standard_Real x)
 Sets the X coordinate for the 3D point.
 
void SetY (const Standard_Real y)
 Sets the Y coordinate for the 3D point.
 
void SetZ (const Standard_Real z)
 Sets the Z coordinate for the 3D point.
 
void SetU (const Standard_Real u)
 Sets the U coordinate for the 2D point.
 
void SetV (const Standard_Real v)
 Sets the V coordinate for the 2D point.
 
void SetPartOfCommon (const Standard_Integer ii)
 Sets the part of common.
 
void Middle (const 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 Standard_Real rr) const
 Division.
 
IntPolyh_Point operator/ (const Standard_Real rr) const
 
IntPolyh_Point Multiplication (const Standard_Real rr) const
 Multiplication.
 
IntPolyh_Point operator* (const Standard_Real rr) const
 
Standard_Real SquareModulus () const
 Square modulus.
 
Standard_Real SquareDistance (const IntPolyh_Point &P2) const
 Square distance to the other point.
 
Standard_Real 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 Standard_Integer i) const
 Dump.
 
void SetDegenerated (const Standard_Boolean theFlag)
 Sets the degenerated flag.
 
Standard_Boolean 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 Standard_Real x,
const Standard_Real y,
const Standard_Real z,
const Standard_Real u,
const Standard_Real 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()

Standard_Boolean IntPolyh_Point::Degenerated ( ) const
inline

Returns the degenerated flag.

◆ Divide()

IntPolyh_Point IntPolyh_Point::Divide ( const Standard_Real rr) const

Division.

◆ Dot()

Standard_Real 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 Standard_Integer i) const

Dump.

◆ Middle()

void IntPolyh_Point::Middle ( const 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 Standard_Real rr) const

Multiplication.

◆ operator*()

IntPolyh_Point IntPolyh_Point::operator* ( const Standard_Real 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 Standard_Real rr) const
inline

◆ PartOfCommon()

Standard_Integer IntPolyh_Point::PartOfCommon ( ) const
inline

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

◆ Set()

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

Sets the point.

◆ SetDegenerated()

void IntPolyh_Point::SetDegenerated ( const Standard_Boolean theFlag)
inline

Sets the degenerated flag.

◆ SetPartOfCommon()

void IntPolyh_Point::SetPartOfCommon ( const Standard_Integer ii)
inline

Sets the part of common.

◆ SetU()

void IntPolyh_Point::SetU ( const Standard_Real u)
inline

Sets the U coordinate for the 2D point.

◆ SetV()

void IntPolyh_Point::SetV ( const Standard_Real v)
inline

Sets the V coordinate for the 2D point.

◆ SetX()

void IntPolyh_Point::SetX ( const Standard_Real x)
inline

Sets the X coordinate for the 3D point.

◆ SetY()

void IntPolyh_Point::SetY ( const Standard_Real y)
inline

Sets the Y coordinate for the 3D point.

◆ SetZ()

void IntPolyh_Point::SetZ ( const Standard_Real z)
inline

Sets the Z coordinate for the 3D point.

◆ SquareDistance()

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

Square distance to the other point.

◆ SquareModulus()

Standard_Real IntPolyh_Point::SquareModulus ( ) const

Square modulus.

◆ Sub()

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

Subtraction.

◆ U()

Standard_Real IntPolyh_Point::U ( ) const
inline

Returns the U coordinate of the 2D point.

◆ V()

Standard_Real IntPolyh_Point::V ( ) const
inline

Returns the V coordinate of the 2D point.

◆ X()

Standard_Real IntPolyh_Point::X ( ) const
inline

Returns X coordinate of the 3D point.

◆ Y()

Standard_Real IntPolyh_Point::Y ( ) const
inline

Returns Y coordinate of the 3D point.

◆ Z()

Standard_Real IntPolyh_Point::Z ( ) const
inline

Returns the Z coordinate of the 3D point.


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