Open CASCADE Technology  7.4.0
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::Intf_Interference ( const Standard_Boolean  Self)
protected

Empty constructor.

◆ ~Intf_Interference()

Intf_Interference::~Intf_Interference ( )
inlineprotected

Destructor is protected, for safer inheritance.

Member Function Documentation

◆ Contains()

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

◆ Dump()

void Intf_Interference::Dump ( ) const

◆ GetTolerance()

Standard_Real Intf_Interference::GetTolerance ( ) const

Gives the tolerance used for the calculation.

◆ Insert() [1/2]

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.

◆ Insert() [2/2]

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.

◆ LineValue()

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

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

◆ NbSectionLines()

Standard_Integer Intf_Interference::NbSectionLines ( ) const

Gives the number of polylines of intersection in the interference.

◆ NbSectionPoints()

Standard_Integer Intf_Interference::NbSectionPoints ( ) const

Gives the number of points of intersection in the interference.

◆ NbTangentZones()

Standard_Integer Intf_Interference::NbTangentZones ( ) const

Gives the number of zones of tangence in the interference.

◆ PntValue()

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

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

◆ SelfInterference()

void Intf_Interference::SelfInterference ( const Standard_Boolean  Self)
protected

Only one argument for the intersection.

◆ ZoneValue()

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

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

Field Documentation

◆ mySLines

Intf_SeqOfSectionLine Intf_Interference::mySLines
protected

◆ mySPoins

Intf_SeqOfSectionPoint Intf_Interference::mySPoins
protected

◆ myTZones

Intf_SeqOfTangentZone Intf_Interference::myTZones
protected

◆ SelfIntf

Standard_Boolean Intf_Interference::SelfIntf
protected

◆ Tolerance

Standard_Real Intf_Interference::Tolerance
protected

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