|
Open CASCADE Technology
6.7.1
|
Describes functions to find the plane in which the edges
of a given shape are located.
A FindPlane object provides a framework for:
More...
#include <BRepBuilderAPI_FindPlane.hxx>
Public Member Functions | |
| BRepBuilderAPI_FindPlane () | |
| Initializes an empty algorithm. The function Init is then used to define the shape. More... | |
| BRepBuilderAPI_FindPlane (const TopoDS_Shape &S, const Standard_Real Tol=-1) | |
Constructs the plane containing the edges of the shape S. <br> A plane is built only if all the edges are within a distance | |
| void | Init (const TopoDS_Shape &S, const Standard_Real Tol=-1) |
Constructs the plane containing the edges of the shape S. <br> A plane is built only if all the edges are within a distance | |
| Standard_Boolean | Found () const |
Returns true if a plane containing the edges of the <br> shape is found and built. Use the function Plane to consult the result. | |
| Handle_Geom_Plane | Plane () const |
Returns the plane containing the edges of the shape. <br> Warning | |
Describes functions to find the plane in which the edges
of a given shape are located.
A FindPlane object provides a framework for:
| BRepBuilderAPI_FindPlane::BRepBuilderAPI_FindPlane | ( | ) |
Initializes an empty algorithm. The function Init is then used to define the shape.
| BRepBuilderAPI_FindPlane::BRepBuilderAPI_FindPlane | ( | const TopoDS_Shape & | S, |
| const Standard_Real | Tol = -1 |
||
| ) |
Constructs the plane containing the edges of the shape S. <br>
A plane is built only if all the edges are within a distance
of less than or equal to tolerance from a planar surface.
This tolerance value is equal to the larger of the following two values:
| Standard_Boolean BRepBuilderAPI_FindPlane::Found | ( | ) | const |
Returns true if a plane containing the edges of the <br>
shape is found and built. Use the function Plane to consult the result.
| void BRepBuilderAPI_FindPlane::Init | ( | const TopoDS_Shape & | S, |
| const Standard_Real | Tol = -1 |
||
| ) |
Constructs the plane containing the edges of the shape S. <br>
A plane is built only if all the edges are within a distance
of less than or equal to tolerance from a planar surface.
This tolerance value is equal to the larger of the following two values:
| Handle_Geom_Plane BRepBuilderAPI_FindPlane::Plane | ( | ) | const |
Returns the plane containing the edges of the shape. <br>
Warning
Use the function Found to verify that the plane is built. If
a plane is not found, Plane returns a null handle.
1.8.5