Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
Extrema_ExtPElS Class Reference

It calculates all the extremum distances between a point and a surface. These distances can be minimum or maximum. More...

#include <Extrema_ExtPElS.hxx>

Public Member Functions

 Extrema_ExtPElS ()
 
 Extrema_ExtPElS (const gp_Pnt &P, const gp_Cylinder &S, const double Tol)
 It calculates all the distances between a point and a cylinder from gp. Tol is used to test if the point is on the axis.
 
void Perform (const gp_Pnt &P, const gp_Cylinder &S, const double Tol)
 
 Extrema_ExtPElS (const gp_Pnt &P, const gp_Pln &S, const double Tol)
 It calculates all the distances between a point and a plane from gp. Tol is used to test if the point is on the plane.
 
void Perform (const gp_Pnt &P, const gp_Pln &S, const double Tol)
 
 Extrema_ExtPElS (const gp_Pnt &P, const gp_Cone &S, const double Tol)
 It calculates all the distances between a point and a cone from gp. Tol is used to test if the point is at the apex or on the axis.
 
void Perform (const gp_Pnt &P, const gp_Cone &S, const double Tol)
 
 Extrema_ExtPElS (const gp_Pnt &P, const gp_Torus &S, const double Tol)
 It calculates all the distances between a point and a torus from gp. Tol is used to test if the point is on the axis.
 
void Perform (const gp_Pnt &P, const gp_Torus &S, const double Tol)
 
 Extrema_ExtPElS (const gp_Pnt &P, const gp_Sphere &S, const double Tol)
 It calculates all the distances between a point and a sphere from gp. Tol is used to test if the point is at the center.
 
void Perform (const gp_Pnt &P, const gp_Sphere &S, const double Tol)
 
bool IsDone () const
 Returns True if the distances are found.
 
int NbExt () const
 Returns the number of extremum distances.
 
double SquareDistance (const int N) const
 Returns the value of the Nth resulting square distance.
 
const Extrema_POnSurfPoint (const int N) const
 Returns the point of the Nth resulting distance.
 

Detailed Description

It calculates all the extremum distances between a point and a surface. These distances can be minimum or maximum.

Constructor & Destructor Documentation

◆ Extrema_ExtPElS() [1/6]

Extrema_ExtPElS::Extrema_ExtPElS ( )

◆ Extrema_ExtPElS() [2/6]

Extrema_ExtPElS::Extrema_ExtPElS ( const gp_Pnt & P,
const gp_Cylinder & S,
const double Tol )

It calculates all the distances between a point and a cylinder from gp. Tol is used to test if the point is on the axis.

◆ Extrema_ExtPElS() [3/6]

Extrema_ExtPElS::Extrema_ExtPElS ( const gp_Pnt & P,
const gp_Pln & S,
const double Tol )

It calculates all the distances between a point and a plane from gp. Tol is used to test if the point is on the plane.

◆ Extrema_ExtPElS() [4/6]

Extrema_ExtPElS::Extrema_ExtPElS ( const gp_Pnt & P,
const gp_Cone & S,
const double Tol )

It calculates all the distances between a point and a cone from gp. Tol is used to test if the point is at the apex or on the axis.

◆ Extrema_ExtPElS() [5/6]

Extrema_ExtPElS::Extrema_ExtPElS ( const gp_Pnt & P,
const gp_Torus & S,
const double Tol )

It calculates all the distances between a point and a torus from gp. Tol is used to test if the point is on the axis.

◆ Extrema_ExtPElS() [6/6]

Extrema_ExtPElS::Extrema_ExtPElS ( const gp_Pnt & P,
const gp_Sphere & S,
const double Tol )

It calculates all the distances between a point and a sphere from gp. Tol is used to test if the point is at the center.

Member Function Documentation

◆ IsDone()

bool Extrema_ExtPElS::IsDone ( ) const

Returns True if the distances are found.

◆ NbExt()

int Extrema_ExtPElS::NbExt ( ) const

Returns the number of extremum distances.

◆ Perform() [1/5]

void Extrema_ExtPElS::Perform ( const gp_Pnt & P,
const gp_Cone & S,
const double Tol )

◆ Perform() [2/5]

void Extrema_ExtPElS::Perform ( const gp_Pnt & P,
const gp_Cylinder & S,
const double Tol )

◆ Perform() [3/5]

void Extrema_ExtPElS::Perform ( const gp_Pnt & P,
const gp_Pln & S,
const double Tol )

◆ Perform() [4/5]

void Extrema_ExtPElS::Perform ( const gp_Pnt & P,
const gp_Sphere & S,
const double Tol )

◆ Perform() [5/5]

void Extrema_ExtPElS::Perform ( const gp_Pnt & P,
const gp_Torus & S,
const double Tol )

◆ Point()

const Extrema_POnSurf & Extrema_ExtPElS::Point ( const int N) const

Returns the point of the Nth resulting distance.

◆ SquareDistance()

double Extrema_ExtPElS::SquareDistance ( const int N) const

Returns the value of the Nth resulting square distance.


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