Open CASCADE Technology
7.5.0
|
Definition of a parametric Curve which is the result of the intersection between two quadrics. More...
#include <IntAna_Curve.hxx>
Public Member Functions | |
IntAna_Curve () | |
Empty Constructor. More... | |
void | SetCylinderQuadValues (const gp_Cylinder &Cylinder, const Standard_Real Qxx, const Standard_Real Qyy, const Standard_Real Qzz, const Standard_Real Qxy, const Standard_Real Qxz, const Standard_Real Qyz, const Standard_Real Qx, const Standard_Real Qy, const Standard_Real Qz, const Standard_Real Q1, const Standard_Real Tol, const Standard_Real DomInf, const Standard_Real DomSup, const Standard_Boolean TwoZForATheta, const Standard_Boolean ZIsPositive) |
Sets the parameters used to compute Points and Derivative on the curve. More... | |
void | SetConeQuadValues (const gp_Cone &Cone, const Standard_Real Qxx, const Standard_Real Qyy, const Standard_Real Qzz, const Standard_Real Qxy, const Standard_Real Qxz, const Standard_Real Qyz, const Standard_Real Qx, const Standard_Real Qy, const Standard_Real Qz, const Standard_Real Q1, const Standard_Real Tol, const Standard_Real DomInf, const Standard_Real DomSup, const Standard_Boolean TwoZForATheta, const Standard_Boolean ZIsPositive) |
Sets the parameters used to compute Points and Derivative on the curve. More... | |
Standard_Boolean | IsOpen () const |
Returns TRUE if the curve is not infinite at the last parameter or at the first parameter of the domain. More... | |
void | Domain (Standard_Real &theFirst, Standard_Real &theLast) const |
Returns the paramatric domain of the curve. More... | |
Standard_Boolean | IsConstant () const |
Returns TRUE if the function is constant. More... | |
Standard_Boolean | IsFirstOpen () const |
Returns TRUE if the domain is open at the beginning. More... | |
Standard_Boolean | IsLastOpen () const |
Returns TRUE if the domain is open at the end. More... | |
gp_Pnt | Value (const Standard_Real Theta) |
Returns the point at parameter Theta on the curve. More... | |
Standard_Boolean | D1u (const Standard_Real Theta, gp_Pnt &P, gp_Vec &V) |
Returns the point and the first derivative at parameter Theta on the curve. More... | |
void | FindParameter (const gp_Pnt &P, TColStd_ListOfReal &theParams) const |
Tries to find the parameter of the point P on the curve. If the method returns False, the "projection" is impossible. If the method returns True at least one parameter has been found. theParams is always sorted in ascending order. More... | |
void | SetIsFirstOpen (const Standard_Boolean Flag) |
If flag is True, the Curve is not defined at the first parameter of its domain. More... | |
void | SetIsLastOpen (const Standard_Boolean Flag) |
If flag is True, the Curve is not defined at the first parameter of its domain. More... | |
void | SetDomain (const Standard_Real theFirst, const Standard_Real theLast) |
Trims this curve. More... | |
Protected Member Functions | |
gp_Pnt | InternalValue (const Standard_Real Theta1, const Standard_Real Theta2) const |
Protected function. More... | |
void | InternalUVValue (const Standard_Real Param, Standard_Real &U, Standard_Real &V, Standard_Real &A, Standard_Real &B, Standard_Real &C, Standard_Real &Co, Standard_Real &Si, Standard_Real &Di) const |
Protected function. More... | |
Definition of a parametric Curve which is the result of the intersection between two quadrics.
IntAna_Curve::IntAna_Curve | ( | ) |
Empty Constructor.
Standard_Boolean IntAna_Curve::D1u | ( | const Standard_Real | Theta, |
gp_Pnt & | P, | ||
gp_Vec & | V | ||
) |
Returns the point and the first derivative at parameter Theta on the curve.
void IntAna_Curve::Domain | ( | Standard_Real & | theFirst, |
Standard_Real & | theLast | ||
) | const |
Returns the paramatric domain of the curve.
void IntAna_Curve::FindParameter | ( | const gp_Pnt & | P, |
TColStd_ListOfReal & | theParams | ||
) | const |
Tries to find the parameter of the point P on the curve. If the method returns False, the "projection" is impossible. If the method returns True at least one parameter has been found. theParams is always sorted in ascending order.
|
protected |
Protected function.
|
protected |
Protected function.
Standard_Boolean IntAna_Curve::IsConstant | ( | ) | const |
Returns TRUE if the function is constant.
Standard_Boolean IntAna_Curve::IsFirstOpen | ( | ) | const |
Returns TRUE if the domain is open at the beginning.
Standard_Boolean IntAna_Curve::IsLastOpen | ( | ) | const |
Returns TRUE if the domain is open at the end.
Standard_Boolean IntAna_Curve::IsOpen | ( | ) | const |
Returns TRUE if the curve is not infinite at the last parameter or at the first parameter of the domain.
void IntAna_Curve::SetConeQuadValues | ( | const gp_Cone & | Cone, |
const Standard_Real | Qxx, | ||
const Standard_Real | Qyy, | ||
const Standard_Real | Qzz, | ||
const Standard_Real | Qxy, | ||
const Standard_Real | Qxz, | ||
const Standard_Real | Qyz, | ||
const Standard_Real | Qx, | ||
const Standard_Real | Qy, | ||
const Standard_Real | Qz, | ||
const Standard_Real | Q1, | ||
const Standard_Real | Tol, | ||
const Standard_Real | DomInf, | ||
const Standard_Real | DomSup, | ||
const Standard_Boolean | TwoZForATheta, | ||
const Standard_Boolean | ZIsPositive | ||
) |
Sets the parameters used to compute Points and Derivative on the curve.
void IntAna_Curve::SetCylinderQuadValues | ( | const gp_Cylinder & | Cylinder, |
const Standard_Real | Qxx, | ||
const Standard_Real | Qyy, | ||
const Standard_Real | Qzz, | ||
const Standard_Real | Qxy, | ||
const Standard_Real | Qxz, | ||
const Standard_Real | Qyz, | ||
const Standard_Real | Qx, | ||
const Standard_Real | Qy, | ||
const Standard_Real | Qz, | ||
const Standard_Real | Q1, | ||
const Standard_Real | Tol, | ||
const Standard_Real | DomInf, | ||
const Standard_Real | DomSup, | ||
const Standard_Boolean | TwoZForATheta, | ||
const Standard_Boolean | ZIsPositive | ||
) |
Sets the parameters used to compute Points and Derivative on the curve.
void IntAna_Curve::SetDomain | ( | const Standard_Real | theFirst, |
const Standard_Real | theLast | ||
) |
Trims this curve.
void IntAna_Curve::SetIsFirstOpen | ( | const Standard_Boolean | Flag | ) |
If flag is True, the Curve is not defined at the first parameter of its domain.
void IntAna_Curve::SetIsLastOpen | ( | const Standard_Boolean | Flag | ) |
If flag is True, the Curve is not defined at the first parameter of its domain.
gp_Pnt IntAna_Curve::Value | ( | const Standard_Real | Theta | ) |
Returns the point at parameter Theta on the curve.