SHAPER  9.12.0
GeomAlgoAPI_FaceBuilder Class Reference

Allows to create face-shapes by different parameters. More...

Static Public Member Functions

static std::shared_ptr< GeomAPI_FacesquareFace (const std::shared_ptr< GeomAPI_Pnt > theCenter, const std::shared_ptr< GeomAPI_Dir > theNormal, const double theSize)
 Creates square planar face by given point of the center, normal to the plane and size of square. More...
 
static std::shared_ptr< GeomAPI_FacesquareFace (const std::shared_ptr< GeomAPI_Pln > thePlane, const double theSize)
 Creates square planar face by given point of the center, normal to the plane and size of square. More...
 
static std::shared_ptr< GeomAPI_FaceplanarFace (const std::shared_ptr< GeomAPI_Pnt > theCenter, const std::shared_ptr< GeomAPI_Dir > theNormal)
 Creates the planar face by given point of the center and normal to the plane. More...
 
static std::shared_ptr< GeomAPI_FaceplanarFace (const std::shared_ptr< GeomAPI_Pln > thePlane, const double theX, const double theY, const double theWidth, const double theHeight)
 Creates a planar face by given plane, left lower point and size. More...
 
static std::shared_ptr< GeomAPI_FaceplanarFaceByThreeVertices (const std::shared_ptr< GeomAPI_Vertex > theVertex1, const std::shared_ptr< GeomAPI_Vertex > theVertex2, const std::shared_ptr< GeomAPI_Vertex > theVertex3)
 Creates a planar face by three vertices. More...
 

Detailed Description

Allows to create face-shapes by different parameters.

Member Function Documentation

◆ squareFace() [1/2]

std::shared_ptr< GeomAPI_Face > GeomAlgoAPI_FaceBuilder::squareFace ( const std::shared_ptr< GeomAPI_Pnt theCenter,
const std::shared_ptr< GeomAPI_Dir theNormal,
const double  theSize 
)
static

Creates square planar face by given point of the center, normal to the plane and size of square.

◆ squareFace() [2/2]

std::shared_ptr< GeomAPI_Face > GeomAlgoAPI_FaceBuilder::squareFace ( const std::shared_ptr< GeomAPI_Pln thePlane,
const double  theSize 
)
static

Creates square planar face by given point of the center, normal to the plane and size of square.

◆ planarFace() [1/2]

std::shared_ptr< GeomAPI_Face > GeomAlgoAPI_FaceBuilder::planarFace ( const std::shared_ptr< GeomAPI_Pnt theCenter,
const std::shared_ptr< GeomAPI_Dir theNormal 
)
static

Creates the planar face by given point of the center and normal to the plane.

◆ planarFace() [2/2]

std::shared_ptr< GeomAPI_Face > GeomAlgoAPI_FaceBuilder::planarFace ( const std::shared_ptr< GeomAPI_Pln thePlane,
const double  theX,
const double  theY,
const double  theWidth,
const double  theHeight 
)
static

Creates a planar face by given plane, left lower point and size.

◆ planarFaceByThreeVertices()

std::shared_ptr< GeomAPI_Face > GeomAlgoAPI_FaceBuilder::planarFaceByThreeVertices ( const std::shared_ptr< GeomAPI_Vertex theVertex1,
const std::shared_ptr< GeomAPI_Vertex theVertex2,
const std::shared_ptr< GeomAPI_Vertex theVertex3 
)
static

Creates a planar face by three vertices.