Open CASCADE Technology
7.3.0
|
#include <IntCurveSurface_Intersection.hxx>
Public Member Functions | |
Standard_Boolean | IsDone () const |
returns the <done> field. More... | |
Standard_Integer | NbPoints () const |
returns the number of IntersectionPoint if IsDone returns True. else NotDone is raised. More... | |
const IntCurveSurface_IntersectionPoint & | Point (const Standard_Integer Index) const |
returns the IntersectionPoint of range <Index> raises NotDone if the computation has failed or if the computation has not been done raises OutOfRange if Index is not in the range <1..NbPoints> More... | |
Standard_Integer | NbSegments () const |
returns the number of IntersectionSegment if IsDone returns True. else NotDone is raised. More... | |
const IntCurveSurface_IntersectionSegment & | Segment (const Standard_Integer Index) const |
returns the IntersectionSegment of range <Index> raises NotDone if the computation has failed or if the computation has not been done raises OutOfRange if Index is not in the range <1..NbSegment> More... | |
Standard_Boolean | IsParallel () const |
Returns true if curve is parallel or belongs surface This case is recognized only for some pairs of analytical curves and surfaces (plane - line, ...) More... | |
void | Dump () const |
Dump all the fields. More... | |
Protected Member Functions | |
IntCurveSurface_Intersection () | |
Empty Constructor;. More... | |
~IntCurveSurface_Intersection () | |
Destructor is protected, for safe inheritance. More... | |
void | SetValues (const IntCurveSurface_Intersection &Inter) |
Internal method copy the <Inter> fields to <me> More... | |
void | Append (const IntCurveSurface_Intersection &Inter, const Standard_Real FirstParamOnCurve, const Standard_Real LastParamOnCurve) |
Internal method Append the IntersectionPoints and IntersectionSegments of <Inter> to <me>. More... | |
void | Append (const IntCurveSurface_IntersectionPoint &Pt) |
Internal method Append the IntersectionPoints of <Inter> to <me> More... | |
void | Append (const IntCurveSurface_IntersectionSegment &Seg) |
Internal method Append the IntersectionPoints of <Inter> to <me> More... | |
void | ResetFields () |
Internal method Reset all the fields of <me> Clear the sequences of IntersectionPoints and Segments Set the field <done> to Standard_False. More... | |
Protected Attributes | |
Standard_Boolean | done |
Standard_Boolean | myIsParallel |
|
protected |
Empty Constructor;.
|
inlineprotected |
Destructor is protected, for safe inheritance.
|
protected |
Internal method Append the IntersectionPoints and IntersectionSegments of <Inter> to <me>.
|
protected |
Internal method Append the IntersectionPoints of <Inter> to <me>
|
protected |
Internal method Append the IntersectionPoints of <Inter> to <me>
void IntCurveSurface_Intersection::Dump | ( | ) | const |
Dump all the fields.
Standard_Boolean IntCurveSurface_Intersection::IsDone | ( | ) | const |
returns the <done> field.
Standard_Boolean IntCurveSurface_Intersection::IsParallel | ( | ) | const |
Returns true if curve is parallel or belongs surface This case is recognized only for some pairs of analytical curves and surfaces (plane - line, ...)
Standard_Integer IntCurveSurface_Intersection::NbPoints | ( | ) | const |
returns the number of IntersectionPoint if IsDone returns True. else NotDone is raised.
Standard_Integer IntCurveSurface_Intersection::NbSegments | ( | ) | const |
returns the number of IntersectionSegment if IsDone returns True. else NotDone is raised.
const IntCurveSurface_IntersectionPoint& IntCurveSurface_Intersection::Point | ( | const Standard_Integer | Index | ) | const |
returns the IntersectionPoint of range <Index> raises NotDone if the computation has failed or if the computation has not been done raises OutOfRange if Index is not in the range <1..NbPoints>
|
protected |
Internal method Reset all the fields of <me> Clear the sequences of IntersectionPoints and Segments Set the field <done> to Standard_False.
const IntCurveSurface_IntersectionSegment& IntCurveSurface_Intersection::Segment | ( | const Standard_Integer | Index | ) | const |
returns the IntersectionSegment of range <Index> raises NotDone if the computation has failed or if the computation has not been done raises OutOfRange if Index is not in the range <1..NbSegment>
|
protected |
Internal method copy the <Inter> fields to <me>
|
protected |
|
protected |