Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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

int NbSectionPoints () const
 Gives the number of points of intersection in the interference.
 
const Intf_SectionPointPntValue (const int Index) const
 Gives the point of intersection of address Index in the interference.
 
int NbSectionLines () const
 Gives the number of polylines of intersection in the interference.
 
const Intf_SectionLineLineValue (const int Index) const
 Gives the polyline of intersection at address <Index> in the interference.
 
int NbTangentZones () const
 Gives the number of zones of tangence in the interference.
 
const Intf_TangentZoneZoneValue (const int Index) const
 Gives the zone of tangence at address Index in the interference.
 
double GetTolerance () const
 Gives the tolerance used for the calculation.
 
bool Contains (const Intf_SectionPoint &ThePnt) const
 Tests if the polylines of intersection or the zones of tangence contain the point of intersection <ThePnt>.
 
bool 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 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.
 
void Dump () const
 

Protected Member Functions

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

Protected Attributes

NCollection_Sequence< Intf_SectionPointmySPoins
 
NCollection_Sequence< Intf_SectionLinemySLines
 
NCollection_Sequence< Intf_TangentZonemyTZones
 
bool SelfIntf
 
double 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 bool Self)
protected

Empty constructor.

◆ ~Intf_Interference()

Intf_Interference::~Intf_Interference ( )
protecteddefault

Destructor is protected, for safer inheritance.

Member Function Documentation

◆ Contains()

bool 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()

double Intf_Interference::GetTolerance ( ) const

Gives the tolerance used for the calculation.

◆ Insert() [1/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.

◆ Insert() [2/2]

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

◆ LineValue()

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

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

◆ NbSectionLines()

int Intf_Interference::NbSectionLines ( ) const

Gives the number of polylines of intersection in the interference.

◆ NbSectionPoints()

int Intf_Interference::NbSectionPoints ( ) const

Gives the number of points of intersection in the interference.

◆ NbTangentZones()

int Intf_Interference::NbTangentZones ( ) const

Gives the number of zones of tangence in the interference.

◆ PntValue()

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

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

◆ SelfInterference()

void Intf_Interference::SelfInterference ( const bool Self)
protected

Only one argument for the intersection.

◆ ZoneValue()

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

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

Field Documentation

◆ mySLines

NCollection_Sequence<Intf_SectionLine> Intf_Interference::mySLines
protected

◆ mySPoins

NCollection_Sequence<Intf_SectionPoint> Intf_Interference::mySPoins
protected

◆ myTZones

NCollection_Sequence<Intf_TangentZone> Intf_Interference::myTZones
protected

◆ SelfIntf

bool Intf_Interference::SelfIntf
protected

◆ Tolerance

double Intf_Interference::Tolerance
protected

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