20 #ifndef GeomAPI_Face_H_
21 #define GeomAPI_Face_H_
23 #include <GeomAPI_Shape.h>
44 GeomAPI_Face(
const std::shared_ptr<GeomAPI_Shape>& theShape);
48 virtual bool isEqual(
const std::shared_ptr<GeomAPI_Shape> theFace)
const;
52 virtual bool isSameGeometry(
const std::shared_ptr<GeomAPI_Shape> theShape)
const;
60 std::shared_ptr<GeomAPI_Pln>
getPlane()
const;
63 GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Sphere>
getSphere()
const;
66 GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Cylinder>
getCylinder()
const;
69 GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Cone>
getCone()
const;
72 GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Torus>
getTorus()
const;
75 GEOMAPI_EXPORT
virtual std::shared_ptr<GeomAPI_Pnt>
middlePoint()
const;
79 double& theUMin,
double& theUMax,
80 double& theVMin,
double& theVMax
85 typedef std::shared_ptr<GeomAPI_Face> GeomFacePtr;
Conical surface in 3D.
Definition: GeomAPI_Cone.h:34
Cylindrical surface in 3D.
Definition: GeomAPI_Cylinder.h:34
Interface to the face object.
Definition: GeomAPI_Face.h:36
virtual GEOMAPI_EXPORT bool isEqual(const std::shared_ptr< GeomAPI_Shape > theFace) const
Returns true if the current face is geometrically equal to the given face.
Definition: GeomAPI_Face.cpp:87
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Cone > getCone() const
Returns cone if the face is based on the conical surface.
Definition: GeomAPI_Face.cpp:325
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Pln > getPlane() const
Returns the base plane of the face (if it is planar) with location in the center of the face.
Definition: GeomAPI_Face.cpp:238
virtual GEOMAPI_EXPORT bool isSameGeometry(const std::shared_ptr< GeomAPI_Shape > theShape) const
Returns true if faces have same underlying surface.
Definition: GeomAPI_Face.cpp:140
GEOMAPI_EXPORT GeomAPI_Face()
Creation of empty (null) shape.
Definition: GeomAPI_Face.cpp:75
virtual GEOMAPI_EXPORT bool optimalBounds(double &theUMin, double &theUMax, double &theVMin, double &theVMax) const
Returns bounding box in UV-space.
Definition: GeomAPI_Face.cpp:392
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Cylinder > getCylinder() const
Returns cylinder if the face is based on the cylindrical surface.
Definition: GeomAPI_Face.cpp:301
GEOMAPI_EXPORT bool isCylindrical() const
Returns true if the face is a cylindrical face.
Definition: GeomAPI_Face.cpp:227
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Torus > getTorus() const
Returns torus if the face is based on the toroidal surface.
Definition: GeomAPI_Face.cpp:352
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Sphere > getSphere() const
Returns sphere if the face is based on the spherical surface.
Definition: GeomAPI_Face.cpp:284
virtual GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Pnt > middlePoint() const
Returns inner point in the face.
Definition: GeomAPI_Face.cpp:372
\Plane in 3D place, defined by normal, center and x-direction.
Definition: GeomAPI_Pln.h:38
Interface to the topological shape object.
Definition: GeomAPI_Shape.h:43
Spherical surface in 3D.
Definition: GeomAPI_Sphere.h:33
Toroidal surface in 3D.
Definition: GeomAPI_Torus.h:34