mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +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.
|
||||
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;
|
||||
|
||||
//! Returns the number of extremum distances.
|
||||
|
@ -125,6 +125,12 @@ Standard_EXPORT operator Standard_Integer() const;
|
||||
//! 1,NbExtrema ], where NbExtrema is the
|
||||
//! number of extrema computed by this algorithm.
|
||||
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
|
||||
//! 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
|
||||
//! number of extrema computed by this algorithm.
|
||||
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
|
||||
//! 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
|
||||
//! number of extrema computed by this algorithm.
|
||||
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
|
||||
//! the second surface, which are the ends of the
|
||||
|
Loading…
x
Reference in New Issue
Block a user