Open CASCADE Technology 7.8.2.dev
|
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. | |
The class represents the point on the surface with both 3D and 2D points.
|
inline |
Constructor.
|
inline |
Constructor.
IntPolyh_Point IntPolyh_Point::Add | ( | const IntPolyh_Point & | P1 | ) | const |
Addition.
void IntPolyh_Point::Cross | ( | const IntPolyh_Point & | P1, |
const IntPolyh_Point & | P2 ) |
Cross.
|
inline |
Returns the degenerated flag.
IntPolyh_Point IntPolyh_Point::Divide | ( | const Standard_Real | rr | ) | const |
Division.
Standard_Real IntPolyh_Point::Dot | ( | const IntPolyh_Point & | P2 | ) | const |
Dot.
void IntPolyh_Point::Dump | ( | ) | const |
Dump.
void IntPolyh_Point::Dump | ( | const Standard_Integer | i | ) | const |
Dump.
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.
IntPolyh_Point IntPolyh_Point::Multiplication | ( | const Standard_Real | rr | ) | const |
Multiplication.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Returns 0 if the point is not common with the other surface.
|
inline |
Sets the point.
|
inline |
Sets the degenerated flag.
|
inline |
Sets the part of common.
|
inline |
Sets the U coordinate for the 2D point.
|
inline |
Sets the V coordinate for the 2D point.
|
inline |
Sets the X coordinate for the 3D point.
|
inline |
Sets the Y coordinate for the 3D point.
|
inline |
Sets the Z coordinate for the 3D point.
Standard_Real IntPolyh_Point::SquareDistance | ( | const IntPolyh_Point & | P2 | ) | const |
Square distance to the other point.
Standard_Real IntPolyh_Point::SquareModulus | ( | ) | const |
Square modulus.
IntPolyh_Point IntPolyh_Point::Sub | ( | const IntPolyh_Point & | P1 | ) | const |
Subtraction.
|
inline |
Returns the U coordinate of the 2D point.
|
inline |
Returns the V coordinate of the 2D point.
|
inline |
Returns X coordinate of the 3D point.
|
inline |
Returns Y coordinate of the 3D point.
|
inline |
Returns the Z coordinate of the 3D point.