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
Intf_Interference Class Reference

Describes the Interference computation result
between polygon2d or polygon3d or polyhedron.

#include <Intf_Interference.hxx>

Inheritance diagram for Intf_Interference:
Inheritance graph
[legend]

Public Member Functions

DEFINE_STANDARD_ALLOC
Standard_Integer 
NbSectionPoints () const
 Gives the number of points of intersection in the
interference.

const Intf_SectionPointPntValue (const Standard_Integer Index) const
 Gives the point of intersection of address Index in
the interference.


Standard_Integer NbSectionLines () const
 Gives the number of polylines of intersection in the
interference.

const Intf_SectionLineLineValue (const Standard_Integer Index) const
 Gives the polyline of intersection at address <Index> in
the interference.


Standard_Integer NbTangentZones () const
 Gives the number of zones of tangence in the interference.

const Intf_TangentZoneZoneValue (const Standard_Integer Index) const
 Gives the zone of tangence at address Index in the
interference.


Standard_Real GetTolerance () const
 Gives the tolerance used for the calculation.

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

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.

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 Standard_Boolean Self)
void SelfInterference (const Standard_Boolean Self)
 Only one argument for the intersection.

Protected Attributes

Intf_SeqOfSectionPoint mySPoins
Intf_SeqOfSectionLine mySLines
Intf_SeqOfTangentZone myTZones
Standard_Boolean SelfIntf
Standard_Real Tolerance

Constructor & Destructor Documentation


Member Function Documentation


Field Documentation


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