This class provides the analytic intersection between a cylinder or a cone from gp and another quadric, as defined in the class Quadric from IntAna. This algorithm is used when the geometric intersection (class QuadQuadGeo from IntAna) returns no geometric solution. The result of the intersection may be.
More...
|
| | IntAna_IntQuadQuad () |
| | Empty Constructor.
|
| |
| | IntAna_IntQuadQuad (const gp_Cylinder &C, const IntAna_Quadric &Q, const double Tol) |
| | Creates the intersection between a cylinder and a quadric. Tol est a definir plus precisemment.
|
| |
| | IntAna_IntQuadQuad (const gp_Cone &C, const IntAna_Quadric &Q, const double Tol) |
| | Creates the intersection between a cone and a quadric. Tol est a definir plus precisemment.
|
| |
| void | Perform (const gp_Cylinder &C, const IntAna_Quadric &Q, const double Tol) |
| | Intersects a cylinder and a quadric . Tol est a definir plus precisemment.
|
| |
| void | Perform (const gp_Cone &C, const IntAna_Quadric &Q, const double Tol) |
| | Intersects a cone and a quadric. Tol est a definir plus precisemment.
|
| |
| bool | IsDone () const |
| | Returns True if the computation was successful.
|
| |
| bool | IdenticalElements () const |
| | Returns TRUE if the cylinder, the cone or the sphere is identical to the quadric.
|
| |
| int | NbCurve () const |
| | Returns the number of curves solution.
|
| |
| const IntAna_Curve & | Curve (const int N) const |
| | Returns the curve of range N.
|
| |
| int | NbPnt () const |
| | Returns the number of contact point.
|
| |
| const gp_Pnt & | Point (const int N) const |
| | Returns the point of range N.
|
| |
| void | Parameters (const int N, double &U1, double &U2) const |
| | Returns the parameters on the "explicit quadric" (i.e. the cylinder or the cone, the first argument given to the constructor) of the point of range N.
|
| |
| bool | HasNextCurve (const int I) const |
| | Returns True if the Curve I shares its last bound with another curve.
|
| |
| int | NextCurve (const int I, bool &theOpposite) const |
| | If HasNextCurve(I) returns True, this function returns the Index J of the curve which has a common bound with the curve I. If theOpposite == True, then the last parameter of the curve I, and the last parameter of the curve J give the same point. Else the last parameter of the curve I and the first parameter of the curve J are the same point.
|
| |
| bool | HasPreviousCurve (const int I) const |
| | Returns True if the Curve I shares its first bound with another curve.
|
| |
| int | PreviousCurve (const int I, bool &theOpposite) const |
| | if HasPreviousCurve(I) returns True, this function returns the Index J of the curve which has a common bound with the curve I. If theOpposite == True then the first parameter of the curve I, and the first parameter of the curve J give the same point. Else the first parameter of the curve I and the last parameter of the curve J are the same point.
|
| |
This class provides the analytic intersection between a cylinder or a cone from gp and another quadric, as defined in the class Quadric from IntAna. This algorithm is used when the geometric intersection (class QuadQuadGeo from IntAna) returns no geometric solution. The result of the intersection may be.
- Curves as defined in the class Curve from IntAna
- Points (Pnt from gp)