Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions
IntAna_Curve Class Reference

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.
 
void SetCylinderQuadValues (const gp_Cylinder &Cylinder, const double Qxx, const double Qyy, const double Qzz, const double Qxy, const double Qxz, const double Qyz, const double Qx, const double Qy, const double Qz, const double Q1, const double Tol, const double DomInf, const double DomSup, const bool TwoZForATheta, const bool ZIsPositive)
 Sets the parameters used to compute Points and Derivative on the curve.
 
void SetConeQuadValues (const gp_Cone &Cone, const double Qxx, const double Qyy, const double Qzz, const double Qxy, const double Qxz, const double Qyz, const double Qx, const double Qy, const double Qz, const double Q1, const double Tol, const double DomInf, const double DomSup, const bool TwoZForATheta, const bool ZIsPositive)
 Sets the parameters used to compute Points and Derivative on the curve.
 
bool IsOpen () const
 Returns TRUE if the curve is not infinite at the last parameter or at the first parameter of the domain.
 
void Domain (double &theFirst, double &theLast) const
 Returns the parametric domain of the curve.
 
bool IsConstant () const
 Returns TRUE if the function is constant.
 
bool IsFirstOpen () const
 Returns TRUE if the domain is open at the beginning.
 
bool IsLastOpen () const
 Returns TRUE if the domain is open at the end.
 
gp_Pnt Value (const double Theta)
 Returns the point at parameter Theta on the curve.
 
bool D1u (const double Theta, gp_Pnt &P, gp_Vec &V)
 Returns the point and the first derivative at parameter Theta on the curve.
 
void FindParameter (const gp_Pnt &P, NCollection_List< double > &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.
 
void SetIsFirstOpen (const bool Flag)
 If flag is True, the Curve is not defined at the first parameter of its domain.
 
void SetIsLastOpen (const bool Flag)
 If flag is True, the Curve is not defined at the first parameter of its domain.
 
void SetDomain (const double theFirst, const double theLast)
 Trims this curve.
 

Protected Member Functions

gp_Pnt InternalValue (const double Theta1, const double Theta2) const
 Protected function.
 
void InternalUVValue (const double Param, double &U, double &V, double &A, double &B, double &C, double &Co, double &Si, double &Di) const
 Protected function.
 

Detailed Description

Definition of a parametric Curve which is the result of the intersection between two quadrics.

Constructor & Destructor Documentation

◆ IntAna_Curve()

IntAna_Curve::IntAna_Curve ( )

Empty Constructor.

Member Function Documentation

◆ D1u()

bool IntAna_Curve::D1u ( const double Theta,
gp_Pnt & P,
gp_Vec & V )

Returns the point and the first derivative at parameter Theta on the curve.

◆ Domain()

void IntAna_Curve::Domain ( double & theFirst,
double & theLast ) const

Returns the parametric domain of the curve.

◆ FindParameter()

void IntAna_Curve::FindParameter ( const gp_Pnt & P,
NCollection_List< double > & 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.

◆ InternalUVValue()

void IntAna_Curve::InternalUVValue ( const double Param,
double & U,
double & V,
double & A,
double & B,
double & C,
double & Co,
double & Si,
double & Di ) const
protected

Protected function.

◆ InternalValue()

gp_Pnt IntAna_Curve::InternalValue ( const double Theta1,
const double Theta2 ) const
protected

Protected function.

◆ IsConstant()

bool IntAna_Curve::IsConstant ( ) const

Returns TRUE if the function is constant.

◆ IsFirstOpen()

bool IntAna_Curve::IsFirstOpen ( ) const

Returns TRUE if the domain is open at the beginning.

◆ IsLastOpen()

bool IntAna_Curve::IsLastOpen ( ) const

Returns TRUE if the domain is open at the end.

◆ IsOpen()

bool IntAna_Curve::IsOpen ( ) const

Returns TRUE if the curve is not infinite at the last parameter or at the first parameter of the domain.

◆ SetConeQuadValues()

void IntAna_Curve::SetConeQuadValues ( const gp_Cone & Cone,
const double Qxx,
const double Qyy,
const double Qzz,
const double Qxy,
const double Qxz,
const double Qyz,
const double Qx,
const double Qy,
const double Qz,
const double Q1,
const double Tol,
const double DomInf,
const double DomSup,
const bool TwoZForATheta,
const bool ZIsPositive )

Sets the parameters used to compute Points and Derivative on the curve.

◆ SetCylinderQuadValues()

void IntAna_Curve::SetCylinderQuadValues ( const gp_Cylinder & Cylinder,
const double Qxx,
const double Qyy,
const double Qzz,
const double Qxy,
const double Qxz,
const double Qyz,
const double Qx,
const double Qy,
const double Qz,
const double Q1,
const double Tol,
const double DomInf,
const double DomSup,
const bool TwoZForATheta,
const bool ZIsPositive )

Sets the parameters used to compute Points and Derivative on the curve.

◆ SetDomain()

void IntAna_Curve::SetDomain ( const double theFirst,
const double theLast )

Trims this curve.

◆ SetIsFirstOpen()

void IntAna_Curve::SetIsFirstOpen ( const bool Flag)

If flag is True, the Curve is not defined at the first parameter of its domain.

◆ SetIsLastOpen()

void IntAna_Curve::SetIsLastOpen ( const bool Flag)

If flag is True, the Curve is not defined at the first parameter of its domain.

◆ Value()

gp_Pnt IntAna_Curve::Value ( const double Theta)

Returns the point at parameter Theta on the curve.


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