Create sort and destroy the circles used in triangulation.
More...
#include <BRepMesh_CircleTool.hxx>
|
| static bool | MakeCircle (const gp_XY &thePoint1, const gp_XY &thePoint2, const gp_XY &thePoint3, gp_XY &theLocation, double &theRadius) |
| | Computes circle on three points.
|
Create sort and destroy the circles used in triangulation.
◆ BRepMesh_CircleTool() [1/2]
Constructor.
- Parameters
-
| theAllocator | memory allocator to be used by internal structures. |
◆ BRepMesh_CircleTool() [2/2]
Constructor.
- Parameters
-
| theReservedSize | size to be reserved for vector of circles. |
| theAllocator | memory allocator to be used by internal structures. |
◆ Bind() [1/2]
| void BRepMesh_CircleTool::Bind |
( |
const int | theIndex, |
|
|
const gp_Circ2d & | theCircle ) |
Binds the circle to the tool.
- Parameters
-
| theIndex | index a circle should be bound with. |
| theCircle | circle to be bound. |
◆ Bind() [2/2]
| bool BRepMesh_CircleTool::Bind |
( |
const int | theIndex, |
|
|
const gp_XY & | thePoint1, |
|
|
const gp_XY & | thePoint2, |
|
|
const gp_XY & | thePoint3 ) |
Computes circle on three points and bind it to the tool.
- Parameters
-
| theIndex | index a circle should be bound with. |
| thePoint1 | first point. |
| thePoint2 | second point. |
| thePoint3 | third point. |
- Returns
- FALSE in case of impossibility to build a circle on the given points, TRUE elsewhere.
◆ Delete()
| void BRepMesh_CircleTool::Delete |
( |
const int | theIndex | ) |
|
Deletes a circle from the tool.
- Parameters
-
| theIndex | index of a circle to be removed. |
◆ Init()
| void BRepMesh_CircleTool::Init |
( |
const int | | ) |
|
|
inline |
Initializes the tool.
- Parameters
-
| theReservedSize | size to be reserved for vector of circles. |
◆ IsEmpty()
| bool BRepMesh_CircleTool::IsEmpty |
( |
| ) |
const |
|
inline |
Returns true if cell filter contains no circle.
◆ MakeCircle()
| bool BRepMesh_CircleTool::MakeCircle |
( |
const gp_XY & | thePoint1, |
|
|
const gp_XY & | thePoint2, |
|
|
const gp_XY & | thePoint3, |
|
|
gp_XY & | theLocation, |
|
|
double & | theRadius ) |
|
static |
Computes circle on three points.
- Parameters
-
| thePoint1 | first point. |
| thePoint2 | second point. |
| thePoint3 | third point. |
| [out] | theLocation | center of computed circle. |
| [out] | theRadius | radius of computed circle. |
- Returns
- FALSE in case of impossibility to build a circle on the given points, TRUE elsewhere.
◆ MocBind()
| void BRepMesh_CircleTool::MocBind |
( |
const int | theIndex | ) |
|
Binds implicit zero circle.
- Parameters
-
| theIndex | index a zero circle should be bound with. |
◆ Select()
Select the circles shot by the given point.
- Parameters
-
◆ SetCellSize() [1/2]
| void BRepMesh_CircleTool::SetCellSize |
( |
const double | theSize | ) |
|
|
inline |
Sets new size for cell filter.
- Parameters
-
| theSize | cell size to be set for X and Y dimensions. |
◆ SetCellSize() [2/2]
| void BRepMesh_CircleTool::SetCellSize |
( |
const double | theSizeX, |
|
|
const double | theSizeY ) |
|
inline |
Sets new size for cell filter.
- Parameters
-
| theSizeX | cell size to be set for X dimension. |
| theSizeY | cell size to be set for Y dimension. |
◆ SetMinMaxSize()
| void BRepMesh_CircleTool::SetMinMaxSize |
( |
const gp_XY & | theMin, |
|
|
const gp_XY & | theMax ) |
|
inline |
Sets limits of inspection area.
- Parameters
-
| theMin | bottom left corner of inspection area. |
| theMax | top right corner of inspection area. |
The documentation for this class was generated from the following file: