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)
 
TopoDS_Face Face ()
 
 FaceDriller (gp_Pln plane, TopoDS_Wire outerWire)
 
bool hitTest (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 ( gp_Pln  plane,
TopoDS_Wire  outerWire 
)

References getWireDirection().

Member Function Documentation

◆ addHole()

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

◆ Face()

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

◆ 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 ( 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:
  • src/Mod/Part/App/FaceMakerBullseye.h
  • src/Mod/Part/App/FaceMakerBullseye.cpp