Open CASCADE Technology  7.4.0
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...
 
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
 

Constructor & Destructor Documentation

◆ IntCurveSurface_Intersection()

IntCurveSurface_Intersection::IntCurveSurface_Intersection ( )
protected

Empty Constructor;.

◆ ~IntCurveSurface_Intersection()

IntCurveSurface_Intersection::~IntCurveSurface_Intersection ( )
inlineprotected

Destructor is protected, for safe inheritance.

Member Function Documentation

◆ Append() [1/3]

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

◆ Append() [2/3]

void IntCurveSurface_Intersection::Append ( const IntCurveSurface_IntersectionPoint Pt)
protected

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

◆ Append() [3/3]

void IntCurveSurface_Intersection::Append ( const IntCurveSurface_IntersectionSegment Seg)
protected

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

◆ Dump()

void IntCurveSurface_Intersection::Dump ( ) const

Dump all the fields.

◆ IsDone()

Standard_Boolean IntCurveSurface_Intersection::IsDone ( ) const

returns the <done> field.

◆ IsParallel()

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

◆ NbPoints()

Standard_Integer IntCurveSurface_Intersection::NbPoints ( ) const

returns the number of IntersectionPoint if IsDone returns True. else NotDone is raised.

◆ NbSegments()

Standard_Integer IntCurveSurface_Intersection::NbSegments ( ) const

returns the number of IntersectionSegment if IsDone returns True. else NotDone is raised.

◆ Point()

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>

◆ ResetFields()

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.

◆ Segment()

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>

◆ SetValues()

void IntCurveSurface_Intersection::SetValues ( const IntCurveSurface_Intersection Inter)
protected

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

Field Documentation

◆ done

Standard_Boolean IntCurveSurface_Intersection::done
protected

◆ myIsParallel

Standard_Boolean IntCurveSurface_Intersection::myIsParallel
protected

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