//! 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.
//! 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
//! 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.
//! 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