mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-25 00:57:38 +08: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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user