|
C3D Toolkit
Kernel - 118072, Vision - 2.18.1.1852
|
Auxiliary circle. More...
#include <alg_circle_curve.h>
Public Member Functions | |
| MbTempCircle () | |
| Constructor. More... | |
| MbTempCircle (double rad) | |
| Constructor. More... | |
| MbTempCircle (const MbCartPoint &p, double rad) | |
| Constructor. More... | |
| MbTempCircle (const MbTempCircle &other) | |
| Copy-constructor. | |
Initialization functions. | |
| void | Init (const MbTempCircle &other) |
| Initialization. More... | |
| void | Init (const MbCartPoint &p, double rad) |
| Initialization. More... | |
Functions for access to data. | |
| const MbCartPoint & | GetCentre () const |
| Center of circle. | |
| const double & | GetR () const |
| Radius of circle. | |
Functions for changing data. | |
| MbCartPoint & | SetCentre () |
| Get center of circle for editing. | |
| void | SetCentre (const MbCartPoint &c) |
| Set center of circle. | |
| double & | SetRadius () |
| Get radius of circle for editing. | |
| void | SetRadius (double r) |
| Set radius of circle. | |
Functions for calculating data. | |
| void | PointOn (double t, MbCartPoint &p) const |
| Point on circle. More... | |
| void | FirstDer (double t, MbVector &v) const |
| First derivative. More... | |
| double | DistanceToPoint (const MbCartPoint &p) const |
| Calculate distance to point. More... | |
| double | PointProjection (const MbCartPoint &p) const |
| Point projection. More... | |
| bool | IsPointOn (const MbCartPoint &p, double eps=Math::LengthEps) const |
| Is point on circle? More... | |
| bool | IsDegenerate () const |
| Check for degeneracy. More... | |
Auxiliary circle.
Auxiliary circle, defined by center and radius.
|
inline |
Constructor.
Constructor of a circle with zero radius, centered at the origin of coordinate system.
|
inline |
Constructor.
Constructor of a circle, centered at the origin of coordinate system.
| [in] | rad | - Radius of circle. |
|
inline |
Constructor.
Constructor by center and radius.
| [in] | p | - Center of circle. |
| [in] | rad | - Radius of circle. |
|
inline |
Initialization.
Initialization by circle.
| [in] | other | - Circle. |
|
inline |
Initialization.
Initialization by center and radius.
| [in] | p | - Center. |
| [in] | rad | - radius. |
|
inline |
Point on circle.
Point on circle by parameter.
| [in] | t | - Parameter on circle. |
| [out] | p | - Point on circle. |
First derivative.
First derivative by parameter.
| [in] | t | - Parameter on circle. |
| [out] | v | - First derivative vector. |
|
inline |
Calculate distance to point.
Distance from circle to point.
| [in] | p | - Point. |
|
inline |
Point projection.
Point projection on circle.
| [in] | p | - Point. |
|
inline |
Is point on circle?
Check if the point is on circle.
| [in] | p | - Point. |
| [in] | eps | - Tolerance. |
|
inline |
Check for degeneracy.
Check circle for degeneracy.