Part::FaceMakerBullseye::FaceDriller Class Reference

The FaceDriller class is similar to BRepBuilderAPI_MakeFace, except that it is tolerant to wire orientation (wires are oriented as needed automatically). More...

#include <FaceMakerBullseye.h>

Public Member Functions

void addHole (TopoDS_Wire w)
 
const TopoDS_Face & Face () const
 
 FaceDriller (const gp_Pln &plane, TopoDS_Wire outerWire)
 
bool hitTest (const gp_Pnt &point) const
 hitTest: returns True if point is on the face More...
 

Static Public Member Functions

static int getWireDirection (const gp_Pln &plane, const TopoDS_Wire &w)
 wireDirection: determines direction of wire with respect to myPlane. More...
 

Detailed Description

The FaceDriller class is similar to BRepBuilderAPI_MakeFace, except that it is tolerant to wire orientation (wires are oriented as needed automatically).

Constructor & Destructor Documentation

◆ FaceDriller()

FaceMakerBullseye::FaceDriller::FaceDriller ( const gp_Pln &  plane,
TopoDS_Wire  outerWire 
)

References getWireDirection().

Member Function Documentation

◆ addHole()

void FaceMakerBullseye::FaceDriller::addHole ( TopoDS_Wire  w)

◆ Face()

const TopoDS_Face & Part::FaceMakerBullseye::FaceDriller::Face ( ) const

◆ getWireDirection()

int FaceMakerBullseye::FaceDriller::getWireDirection ( const gp_Pln &  plane,
const TopoDS_Wire &  w 
)
static

wireDirection: determines direction of wire with respect to myPlane.

Parameters
w
Returns
1 = CCW (suits as outer wire), -1 = CW (suits as hole)

Referenced by FaceDriller().

◆ hitTest()

bool FaceMakerBullseye::FaceDriller::hitTest ( const gp_Pnt &  point) const

hitTest: returns True if point is on the face

Parameters
point

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