Open CASCADE Technology  7.1.0.beta
Static Public Member Functions

Intf Class Reference

Interference computation between polygons, lines and polyhedra with only triangular facets. These objects are polygonal representations of complex curves and triangulated representations of complex surfaces. More...

#include <Intf.hxx>

Static Public Member Functions

static void PlaneEquation (const gp_Pnt &P1, const gp_Pnt &P2, const gp_Pnt &P3, gp_XYZ &NormalVector, Standard_Real &PolarDistance)
 Computes the interference between two polygons in 2d. Result : points of intersections and zones of tangence. Computes the interference between a polygon or a straight line and a polyhedron. Points of intersection and zones of tangence. Give the plane equation of the triangle <P1> <P2> <P3>. More...
 
static Standard_Boolean Contain (const gp_Pnt &P1, const gp_Pnt &P2, const gp_Pnt &P3, const gp_Pnt &ThePnt)
 Compute if the triangle <P1> <P2> <P3> contain <ThePnt>. More...
 

Detailed Description

Interference computation between polygons, lines and polyhedra with only triangular facets. These objects are polygonal representations of complex curves and triangulated representations of complex surfaces.

Member Function Documentation

static Standard_Boolean Intf::Contain ( const gp_Pnt P1,
const gp_Pnt P2,
const gp_Pnt P3,
const gp_Pnt ThePnt 
)
static

Compute if the triangle <P1> <P2> <P3> contain <ThePnt>.

static void Intf::PlaneEquation ( const gp_Pnt P1,
const gp_Pnt P2,
const gp_Pnt P3,
gp_XYZ NormalVector,
Standard_Real PolarDistance 
)
static

Computes the interference between two polygons in 2d. Result : points of intersections and zones of tangence. Computes the interference between a polygon or a straight line and a polyhedron. Points of intersection and zones of tangence. Give the plane equation of the triangle <P1> <P2> <P3>.


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