mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-30 12:14:08 +03:00
0029792: Add ::IsParallel method to GeomAPI_Extrema* classes
Add IsParallel() methods for classes: - GeomAPI_ExtremaCurveCurve - GeomAPI_ExtremaCurveSurface - GeomAPI_ExtremaSurfaceSurface
This commit is contained in:
parent
4391df896c
commit
f26ee38f2a
@ -63,7 +63,7 @@ public:
|
|||||||
//! Returns True if the distances are found.
|
//! Returns True if the distances are found.
|
||||||
Standard_EXPORT Standard_Boolean IsDone() const;
|
Standard_EXPORT Standard_Boolean IsDone() const;
|
||||||
|
|
||||||
//! Returns True if the curve is on a parallel surface.
|
//! Returns True if the surfaces are parallel
|
||||||
Standard_EXPORT Standard_Boolean IsParallel() const;
|
Standard_EXPORT Standard_Boolean IsParallel() const;
|
||||||
|
|
||||||
//! Returns the number of extremum distances.
|
//! Returns the number of extremum distances.
|
||||||
|
@ -125,6 +125,12 @@ Standard_EXPORT operator Standard_Integer() const;
|
|||||||
//! 1,NbExtrema ], where NbExtrema is the
|
//! 1,NbExtrema ], where NbExtrema is the
|
||||||
//! number of extrema computed by this algorithm.
|
//! number of extrema computed by this algorithm.
|
||||||
Standard_EXPORT Standard_Real Distance (const Standard_Integer Index) const;
|
Standard_EXPORT Standard_Real Distance (const Standard_Integer Index) const;
|
||||||
|
|
||||||
|
//! Returns True if the two curves are parallel.
|
||||||
|
Standard_Boolean IsParallel() const
|
||||||
|
{
|
||||||
|
return myExtCC.IsParallel();
|
||||||
|
}
|
||||||
|
|
||||||
//! Returns the points P1 on the first curve and P2 on
|
//! Returns the points P1 on the first curve and P2 on
|
||||||
//! the second curve, which are the ends of the shortest
|
//! the second curve, which are the ends of the shortest
|
||||||
|
@ -127,6 +127,12 @@ Standard_EXPORT operator Standard_Integer() const;
|
|||||||
//! 1,NbExtrema ], where NbExtrema is the
|
//! 1,NbExtrema ], where NbExtrema is the
|
||||||
//! number of extrema computed by this algorithm.
|
//! number of extrema computed by this algorithm.
|
||||||
Standard_EXPORT Standard_Real Distance (const Standard_Integer Index) const;
|
Standard_EXPORT Standard_Real Distance (const Standard_Integer Index) const;
|
||||||
|
|
||||||
|
//! Returns True if the curve is on a parallel surface.
|
||||||
|
Standard_Boolean IsParallel() const
|
||||||
|
{
|
||||||
|
return myExtCS.IsParallel();
|
||||||
|
}
|
||||||
|
|
||||||
//! Returns the points PC on the curve and PS on the
|
//! Returns the points PC on the curve and PS on the
|
||||||
//! surface, which are the ends of the shortest extremum computed by this algorithm.
|
//! surface, which are the ends of the shortest extremum computed by this algorithm.
|
||||||
|
@ -128,6 +128,12 @@ Standard_EXPORT operator Standard_Integer() const;
|
|||||||
//! 1,NbExtrema ], where NbExtrema is the
|
//! 1,NbExtrema ], where NbExtrema is the
|
||||||
//! number of extrema computed by this algorithm.
|
//! number of extrema computed by this algorithm.
|
||||||
Standard_EXPORT Standard_Real Distance (const Standard_Integer Index) const;
|
Standard_EXPORT Standard_Real Distance (const Standard_Integer Index) const;
|
||||||
|
|
||||||
|
//! Returns True if the surfaces are parallel
|
||||||
|
Standard_Boolean IsParallel() const
|
||||||
|
{
|
||||||
|
return myExtSS.IsParallel();
|
||||||
|
}
|
||||||
|
|
||||||
//! Returns the points P1 on the first surface and P2 on
|
//! Returns the points P1 on the first surface and P2 on
|
||||||
//! the second surface, which are the ends of the
|
//! the second surface, which are the ends of the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user