Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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

DEFINE_STANDARD_ALLOC
Standard_Boolean 
IsDone () const
 returns the <done> field.

Standard_Integer NbPoints () const
 returns the number of IntersectionPoint
if IsDone returns True.
else NotDone is raised.

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>

Standard_Integer NbSegments () const
 returns the number of IntersectionSegment
if IsDone returns True.
else NotDone is raised.

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>

void Dump () const
 Dump all the fields.

Protected Member Functions

 IntCurveSurface_Intersection ()
 Empty Constructor;

void SetValues (const IntCurveSurface_Intersection &Inter)
 Internal method
copy the <Inter> fields to <me>

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

void Append (const IntCurveSurface_IntersectionPoint &Pt)
 Internal method
Append the IntersectionPoints of <Inter> to <me>

void Append (const IntCurveSurface_IntersectionSegment &Seg)
 Internal method
Append the IntersectionPoints of <Inter> to <me>

void ResetFields ()
 Internal method
Reset all the fields of <me>
Clear the sequences of IntersectionPoints and Segments
Set the field <done> to Standard_False.

Protected Attributes

Standard_Boolean done

Constructor & Destructor Documentation


Member Function Documentation

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

Field Documentation


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