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

Intf_Interference Class Reference

Describes the Interference computation result between polygon2d or polygon3d or polyhedron (as three sequences of points of intersection, polylines of intersection and zones de tangence). More...

#include <Intf_Interference.hxx>

Inheritance diagram for Intf_Interference:
Inheritance graph
[legend]

Public Member Functions

Standard_Integer NbSectionPoints () const
 Gives the number of points of intersection in the interference. More...
 
const Intf_SectionPointPntValue (const Standard_Integer Index) const
 Gives the point of intersection of address Index in the interference. More...
 
Standard_Integer NbSectionLines () const
 Gives the number of polylines of intersection in the interference. More...
 
const Intf_SectionLineLineValue (const Standard_Integer Index) const
 Gives the polyline of intersection at address <Index> in the interference. More...
 
Standard_Integer NbTangentZones () const
 Gives the number of zones of tangence in the interference. More...
 
const Intf_TangentZoneZoneValue (const Standard_Integer Index) const
 Gives the zone of tangence at address Index in the interference. More...
 
Standard_Real GetTolerance () const
 Gives the tolerance used for the calculation. More...
 
Standard_Boolean Contains (const Intf_SectionPoint &ThePnt) const
 Tests if the polylines of intersection or the zones of tangence contain the point of intersection <ThePnt>. More...
 
Standard_Boolean Insert (const Intf_TangentZone &TheZone)
 Inserts a new zone of tangence in the current list of tangent zones of the interference and returns True when done. More...
 
void Insert (const Intf_SectionPoint &pdeb, const Intf_SectionPoint &pfin)
 Insert a new segment of intersection in the current list of polylines of intersection of the interference. More...
 
void Dump () const
 

Protected Member Functions

 Intf_Interference (const Standard_Boolean Self)
 Empty constructor. More...
 
 ~Intf_Interference ()
 Destructor is protected, for safer inheritance. More...
 
void SelfInterference (const Standard_Boolean Self)
 Only one argument for the intersection. More...
 

Protected Attributes

Intf_SeqOfSectionPoint mySPoins
 
Intf_SeqOfSectionLine mySLines
 
Intf_SeqOfTangentZone myTZones
 
Standard_Boolean SelfIntf
 
Standard_Real Tolerance
 

Detailed Description

Describes the Interference computation result between polygon2d or polygon3d or polyhedron (as three sequences of points of intersection, polylines of intersection and zones de tangence).

Constructor & Destructor Documentation

Intf_Interference::Intf_Interference ( const Standard_Boolean  Self)
protected

Empty constructor.

Intf_Interference::~Intf_Interference ( )
inlineprotected

Destructor is protected, for safer inheritance.

Member Function Documentation

Standard_Boolean Intf_Interference::Contains ( const Intf_SectionPoint ThePnt) const

Tests if the polylines of intersection or the zones of tangence contain the point of intersection <ThePnt>.

void Intf_Interference::Dump ( ) const
Standard_Real Intf_Interference::GetTolerance ( ) const

Gives the tolerance used for the calculation.

Standard_Boolean Intf_Interference::Insert ( const Intf_TangentZone TheZone)

Inserts a new zone of tangence in the current list of tangent zones of the interference and returns True when done.

void Intf_Interference::Insert ( const Intf_SectionPoint pdeb,
const Intf_SectionPoint pfin 
)

Insert a new segment of intersection in the current list of polylines of intersection of the interference.

const Intf_SectionLine& Intf_Interference::LineValue ( const Standard_Integer  Index) const

Gives the polyline of intersection at address <Index> in the interference.

Standard_Integer Intf_Interference::NbSectionLines ( ) const

Gives the number of polylines of intersection in the interference.

Standard_Integer Intf_Interference::NbSectionPoints ( ) const

Gives the number of points of intersection in the interference.

Standard_Integer Intf_Interference::NbTangentZones ( ) const

Gives the number of zones of tangence in the interference.

const Intf_SectionPoint& Intf_Interference::PntValue ( const Standard_Integer  Index) const

Gives the point of intersection of address Index in the interference.

void Intf_Interference::SelfInterference ( const Standard_Boolean  Self)
protected

Only one argument for the intersection.

const Intf_TangentZone& Intf_Interference::ZoneValue ( const Standard_Integer  Index) const

Gives the zone of tangence at address Index in the interference.

Field Documentation

Intf_SeqOfSectionLine Intf_Interference::mySLines
protected
Intf_SeqOfSectionPoint Intf_Interference::mySPoins
protected
Intf_SeqOfTangentZone Intf_Interference::myTZones
protected
Standard_Boolean Intf_Interference::SelfIntf
protected
Standard_Real Intf_Interference::Tolerance
protected

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