Open CASCADE Technology  7.4.0
Public Member Functions

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. More...
 
 IntPolyh_Point (const Standard_Real x, const Standard_Real y, const Standard_Real z, const Standard_Real u, const Standard_Real v)
 Constructor. More...
 
Standard_Real X () const
 Returns X coordinate of the 3D point. More...
 
Standard_Real Y () const
 Returns Y coordinate of the 3D point. More...
 
Standard_Real Z () const
 Returns the Z coordinate of the 3D point. More...
 
Standard_Real U () const
 Returns the U coordinate of the 2D point. More...
 
Standard_Real V () const
 Returns the V coordinate of the 2D point. More...
 
Standard_Integer PartOfCommon () const
 Returns 0 if the point is not common with the other surface. More...
 
void Equal (const IntPolyh_Point &Pt)
 Assignment operator. More...
 
void operator= (const IntPolyh_Point &Pt)
 
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. More...
 
void SetX (const Standard_Real x)
 Sets the X coordinate for the 3D point. More...
 
void SetY (const Standard_Real y)
 Sets the Y coordinate for the 3D point. More...
 
void SetZ (const Standard_Real z)
 Sets the Z coordinate for the 3D point. More...
 
void SetU (const Standard_Real u)
 Sets the U coordinate for the 2D point. More...
 
void SetV (const Standard_Real v)
 Sets the V coordinate for the 2D point. More...
 
void SetPartOfCommon (const Standard_Integer ii)
 Sets the part of common. More...
 
void Middle (const Handle< Adaptor3d_HSurface > &MySurface, const IntPolyh_Point &P1, const IntPolyh_Point &P2)
 Creates middle point from P1 and P2 and stores it to this. More...
 
IntPolyh_Point Add (const IntPolyh_Point &P1) const
 Addition. More...
 
IntPolyh_Point operator+ (const IntPolyh_Point &P1) const
 
IntPolyh_Point Sub (const IntPolyh_Point &P1) const
 Subtraction. More...
 
IntPolyh_Point operator- (const IntPolyh_Point &P1) const
 
IntPolyh_Point Divide (const Standard_Real rr) const
 Division. More...
 
IntPolyh_Point operator/ (const Standard_Real rr) const
 
IntPolyh_Point Multiplication (const Standard_Real rr) const
 Multiplication. More...
 
IntPolyh_Point operator* (const Standard_Real rr) const
 
Standard_Real SquareModulus () const
 Square modulus. More...
 
Standard_Real SquareDistance (const IntPolyh_Point &P2) const
 Square distance to the other point. More...
 
Standard_Real Dot (const IntPolyh_Point &P2) const
 Dot. More...
 
void Cross (const IntPolyh_Point &P1, const IntPolyh_Point &P2)
 Cross. More...
 
void Dump () const
 Dump. More...
 
void Dump (const Standard_Integer i) const
 Dump. More...
 
void SetDegenerated (const Standard_Boolean theFlag)
 Sets the degenerated flag. More...
 
Standard_Boolean Degenerated () const
 Returns the degenerated flag. More...
 

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.

◆ Equal()

void IntPolyh_Point::Equal ( const IntPolyh_Point Pt)
inline

Assignment operator.

◆ Middle()

void IntPolyh_Point::Middle ( const Handle< Adaptor3d_HSurface > &  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

◆ operator=()

void IntPolyh_Point::operator= ( const IntPolyh_Point Pt)
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: