|
static pFace | copy (pConstFace face) |
| Copies a face. More...
|
|
static pFace | makeFace (pWire outer, double precision=Geom::Precision::linear_Resolution()) |
| Makes a face from a wire. The wire describes the outer boundary of the face. More...
|
|
static pFace | makeFace (const Geom::Pnt &p1, const Geom::Pnt &p2, const Geom::Pnt &p3) |
| Makes a face from three points. More...
|
|
static pFace | makeFace (const Geom::Pnt &p1, const Geom::Pnt &p2, const Geom::Pnt &p3, const Geom::Pnt &p4) |
| Makes a face from four points. More...
|
|
static pFace | makeCylindricalFace (const Geom::Circ &aCircle, double aParam1, double aParam2, double aHeight) |
| Makes a cylindrical face. More...
|
|
static pFace | makePlanarFace (pWire outerWire, const std::vector< pWire > &innerWires, double precision) |
|
static pFace | makePlanarFaceWithoutVoids (const std::vector< pWire > &wires, double precision=Geom::Precision::linear_Resolution()) |
| Makes a planar face from the given wires. Each closed region on each wire is covered and all of the covered regions are united. More...
|
|
static std::vector< pFace > | makePlanarFaces (pConstBrepData data) |
| Makes planar faces from BrepData. More...
|
|
static pFace | makeFace (pWire outerWire, const std::vector< pWire > &innerWires, double precision=Geom::Precision::linear_Resolution()) |
|
static pFace | makePolygon (const std::vector< Geom::Pnt > &points) |
| Makes a polygonal face from a vector of points. More...
|
|
static bool | isValidPointForFace (const Geom::Pnt &p, pConstFace face, double precision=Geom::Precision::linear_Resolution()) |
| Checks if p is a valid point on face within the given tolerance. More...
|
|
static pFace | transformed (pConstFace face, const Geom::Trsf &transform) |
| Returns a copy of 'face' transformed by 'transform'. More...
|
|
static bool | getGeomSurfaceType (pConstFace face, Geom::SurfaceType &type) |
| Returns the surface type of the underlying geometry of the face. More...
|
|
static double | getArea (pConstFace face) |
| Returns the area of the face. More...
|
|
static pConstWire | getOuterBoundary (pConstFace face) |
| Returns the outer boundary of the face. More...
|
|
static std::vector< pConstWire > | getInnerBoundaries (pConstFace face) |
| Returns the inner boundaries of the face. More...
|
|
static pShape | makeConnectedFaceSet (const std::vector< int > &model, const std::vector< Geom::Pnt > &vertices) |
| Makes a connected face set from a model description and a vector of points. Returns an empty shell on failure. More...
|
|
static bool | isNurbs (pConstFace face) |
| Returns true if surface type is BEZIERSURFACE or BSPLINESURFACE. More...
|
|
static pShape | extrudedFace (pConstFace face, const Geom::Dir &extrudedDirection, double depth) |
| Extrudes a face in the given extrudedDirection with the given depth. It returns nullptr on failure. More...
|
|
static bool | extendFace (pFace face, const std::vector< pConstEdge > &edges, double offset) |
|
static bool | getCircularSurfaceParams (pConstFace face, Geom::Circ &circle) |
| Get parameters of circular face. More...
|
|
static bool | getCylinderSurfaceParams (pConstFace face, Geom::Ax2 &position, double &radius) |
| Get parameters of cylinder face. More...
|
|
static bool | getConeSurfaceParams (pConstFace face, Geom::Ax2 &position, double &angle, double &radius) |
| Get parameters of cone face. More...
|
|
static Geom::Pnt | getCentre (pConstFace face) |
| Returns centre of mass (centre of gravity) of the face. More...
|
|
static bool | projectPointOnFace (const Geom::Pnt &p, pConstFace face, Geom::Pnt &nearest) |
| Projects point 'p' on 'face'. Returns the nearest solution point. More...
|
|
static bool | projectPointOnFace (const Geom::Pnt &p, pConstFace face, double &u, double &v) |
| Projects point 'p' on 'face'. Returns the parameter 'u' and 'v' at that point. Only the nearest solution is returned. More...
|
|
static bool | isSelfIntersecting (pConstFace face) |
| Returns true if the face is self-intersecting. More...
|
|
static void | getOuterBoundaryPoints (pConstFace face, std::vector< Geom::Pnt > &pnts) |
| Return the points of the outer boundary. More...
|
|
static void | getOuterBoundaryPointsFast (pConstFace face, std::vector< Geom::Pnt > &pnts) |
| Return the points of the outer boundary. More...
|
|
static bool | getPointFaceDistance (const Geom::Pnt &p, pConstFace face, Geom::Pnt &nearest, double &distance) |
| Computes the minimum distances and the closest positions between an entity and a point. More...
|
|
static bool | containsFace (pConstFace outerface, pConstFace innerFace) |
| Contains Face. More...
|
|
static std::shared_ptr< Topo::SpecialFaceInfo > | getSpecialFaceInfo (pConstFace face) |
| Special Info for Face, Cone, Cylinder. More...
|
|
static Topo::ToolOutcome | clash (pConstFace face1, pConstFace face2, bool &hasClash) |
| Performs a clash of two faces and reports if they touch one another. More...
|
|
static Topo::ToolOutcome | clashFaces (pConstFace face1, pConstFace face2, Topo::FaceClashType &clashType) |
| Perform a real clash of two faces and report the way in which these shapes clash. More...
|
|
static bool | isRectangular (pConstFace face, Geom::Ax2 &position, double &width, double &height) |
| Checks if a face is rectangular and returns its parameters. More...
|
|
Tools for creating, manipulating and querying Faces.