0029792: Add ::IsParallel method to GeomAPI_Extrema* classes

Add IsParallel() methods for classes:
- GeomAPI_ExtremaCurveCurve
- GeomAPI_ExtremaCurveSurface
- GeomAPI_ExtremaSurfaceSurface
This commit is contained in:
asuraven
2021-08-18 16:54:40 +03:00
committed by bugmaster
parent 4391df896c
commit f26ee38f2a
4 changed files with 19 additions and 1 deletions

View File

@@ -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.