Open CASCADE Technology  6.9.0
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. 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 &Theta1, Standard_Real &Theta2) 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...
 
Standard_Boolean FindParameter (const gp_Pnt &P, Standard_Real &Para) const
 Tries to find the parameter of the point P on the curve. If the method returns False, the "projection" is impossible, and the value of Para is not significant. If the method returns True, Para is the parameter of the nearest intersection between the curve and the iso-theta containing P. 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 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...
 
void SetDomain (const Standard_Real Theta1, const Standard_Real Theta2)
 

Protected Member Functions

gp_Pnt InternalValue (const Standard_Real Theta1, const Standard_Real Theta2) const
 Protected function. More...
 

Detailed Description

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

Constructor & Destructor Documentation

IntAna_Curve::IntAna_Curve ( )

Empty Constructor.

Member Function Documentation

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 Theta1,
Standard_Real Theta2 
) const

Returns the paramatric domain of the curve.

Standard_Boolean IntAna_Curve::FindParameter ( const gp_Pnt P,
Standard_Real Para 
) const

Tries to find the parameter of the point P on the curve. If the method returns False, the "projection" is impossible, and the value of Para is not significant. If the method returns True, Para is the parameter of the nearest intersection between the curve and the iso-theta containing P.

void IntAna_Curve::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.

gp_Pnt IntAna_Curve::InternalValue ( const Standard_Real  Theta1,
const Standard_Real  Theta2 
) const
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  Theta1,
const Standard_Real  Theta2 
)
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.


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