Open CASCADE Technology  7.1.0.beta
Public Member Functions | Protected Member Functions | Protected Attributes

IntCurveSurface_Intersection Class Reference

#include <IntCurveSurface_Intersection.hxx>

Inheritance diagram for IntCurveSurface_Intersection:
Inheritance graph
[legend]

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_IntersectionPointPoint (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_IntersectionSegmentSegment (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...
 
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
 

Constructor & Destructor Documentation

IntCurveSurface_Intersection::IntCurveSurface_Intersection ( )
protected

Empty Constructor;.

IntCurveSurface_Intersection::~IntCurveSurface_Intersection ( )
inlineprotected

Destructor is protected, for safe inheritance.

Member Function Documentation

void IntCurveSurface_Intersection::Append ( const IntCurveSurface_Intersection Inter,
const Standard_Real  FirstParamOnCurve,
const Standard_Real  LastParamOnCurve 
)
protected

Internal method Append the IntersectionPoints and IntersectionSegments of <Inter> to <me>.

void IntCurveSurface_Intersection::Append ( const IntCurveSurface_IntersectionPoint Pt)
protected

Internal method Append the IntersectionPoints of <Inter> to <me>

void IntCurveSurface_Intersection::Append ( const IntCurveSurface_IntersectionSegment Seg)
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_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>

void IntCurveSurface_Intersection::ResetFields ( )
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>

void IntCurveSurface_Intersection::SetValues ( const IntCurveSurface_Intersection Inter)
protected

Internal method copy the <Inter> fields to <me>

Field Documentation

Standard_Boolean IntCurveSurface_Intersection::done
protected

The documentation for this class was generated from the following file: