Open CASCADE Technology
7.2.0
|
Computes the interference between two polygons or the self intersection of a polygon in two dimensions. More...
#include <Intf_InterferencePolygon2d.hxx>
Public Member Functions | |
Intf_InterferencePolygon2d () | |
Constructs an empty interference of Polygon. More... | |
Intf_InterferencePolygon2d (const Intf_Polygon2d &Obje1, const Intf_Polygon2d &Obje2) | |
Constructs and computes an interference between two Polygons. More... | |
Intf_InterferencePolygon2d (const Intf_Polygon2d &Obje) | |
Constructs and computes the auto interference of a Polygon. More... | |
void | Perform (const Intf_Polygon2d &Obje1, const Intf_Polygon2d &Obje2) |
Computes an interference between two Polygons. More... | |
void | Perform (const Intf_Polygon2d &Obje) |
Computes the self interference of a Polygon. More... | |
gp_Pnt2d | Pnt2dValue (const Standard_Integer Index) const |
Gives the geometrical 2d point of the intersection point at address <Index> in the interference. More... | |
Public Member Functions inherited from Intf_Interference | |
Standard_Integer | NbSectionPoints () const |
Gives the number of points of intersection in the interference. More... | |
const Intf_SectionPoint & | PntValue (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_SectionLine & | LineValue (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_TangentZone & | ZoneValue (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 |
Additional Inherited Members | |
Protected Member Functions inherited from Intf_Interference | |
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 inherited from Intf_Interference | |
Intf_SeqOfSectionPoint | mySPoins |
Intf_SeqOfSectionLine | mySLines |
Intf_SeqOfTangentZone | myTZones |
Standard_Boolean | SelfIntf |
Standard_Real | Tolerance |
Computes the interference between two polygons or the self intersection of a polygon in two dimensions.
Intf_InterferencePolygon2d::Intf_InterferencePolygon2d | ( | ) |
Constructs an empty interference of Polygon.
Intf_InterferencePolygon2d::Intf_InterferencePolygon2d | ( | const Intf_Polygon2d & | Obje1, |
const Intf_Polygon2d & | Obje2 | ||
) |
Constructs and computes an interference between two Polygons.
Intf_InterferencePolygon2d::Intf_InterferencePolygon2d | ( | const Intf_Polygon2d & | Obje | ) |
Constructs and computes the auto interference of a Polygon.
void Intf_InterferencePolygon2d::Perform | ( | const Intf_Polygon2d & | Obje1, |
const Intf_Polygon2d & | Obje2 | ||
) |
Computes an interference between two Polygons.
void Intf_InterferencePolygon2d::Perform | ( | const Intf_Polygon2d & | Obje | ) |
Computes the self interference of a Polygon.
gp_Pnt2d Intf_InterferencePolygon2d::Pnt2dValue | ( | const Standard_Integer | Index | ) | const |
Gives the geometrical 2d point of the intersection point at address <Index> in the interference.