|
| PointCurve2 () |
| Empty.
|
|
| PointCurve2 (const VectorSet2 &, bool=false) |
| Creates a curve with points. More...
|
|
| PointCurve2 (const CubicCurve2 &, int, const double &=0.0, const double &=1.0) |
| Creates a point curve from a cubic curve. More...
|
|
| PointCurve2 (const QuadricCurve2 &, int, const double &=0.0, const double &=1.0) |
| Creates a point curve from a quadric curve. More...
|
|
| PointCurve2 (const QVector< Vector2 > &, bool=false) |
| Creates a curve with points. More...
|
|
| ~PointCurve2 () |
| Empty.
|
|
int | Size () const |
| Return the size of the sampled curve.
|
|
Vector2 | Tangent (int) const |
| Compute the tangent at a given point. More...
|
|
double | Curvature (int) const |
| Compute the curvature at a given point. More...
|
|
PointCurve | Transform (const Frame &) const |
| Transform the planar point curve into a three dimensional point curve. More...
|
|
bool | IsClosed () const |
| Check if the curve is closed.
|
|
void | Close () |
| Define the curve as closed.
|
|
double | Length () const |
| Compute the length of the curve.
|
|
double | Sinuosity () const |
| Compute the sinuosity. More...
|
|
Polygon2 | GetPolygon () const |
| Compute the closed bounding polygon.
|
|
CubicCurve2Set | ToCubicCurve () const |
| Compute the cubic curve passing through all the points of the polyline.
|
|
QuadricCurve2Set | ToQuadricCurve () const |
| Compute the quadric curve passing through all the points of the polyline.
|
|
PointCurve2 | Translated (const Vector2 &) const |
| Return a translated point curve. More...
|
|
PointCurve2 | Rotated (const double &) const |
| Return a rotated point curve. More...
|
|
PointCurve2 | Scaled (const Vector2 &) const |
| Return a scaled point curve. More...
|
|
double | R (const Vector2 &, double &, int &) const |
| Computes the projection of p onto the piecewise linear curve and returns the squared distance. More...
|
|
double | R (const Vector2 &, double &, int &, int &) const |
| Computes the projection of p onto the piecewise linear curve, returns the squared distance, and the side with respect to the curve. More...
|
|
void | Draw (QGraphicsScene &, const QPen &=QPen(), const QBrush &=QBrush()) const |
| Draw the point curve. More...
|
|
| VectorSet2 () |
| Empty.
|
|
| VectorSet2 (const QVector< Vector2 > &) |
| Create a set of vectors. More...
|
|
| ~VectorSet2 () |
| Empty.
|
|
int | Size () const |
| Return the size of the set.
|
|
Vector2 | At (int) const |
| Access to element.
|
|
Vector2 & | operator[] (int) |
| Access to element.
|
|
Vector2 | Barycenter () const |
| Compute the barycenter.
|
|
Box2 | GetBox () const |
| Compute the bounding box. More...
|
|
Convex2 | GetHull () const |
| Compute the convex hull of the set.
|
|
void | Rotate (const Matrix2 &) |
| Rotate all the points. More...
|
|
void | Rotate (const double &) |
| Rotate all the points. More...
|
|
void | Translate (const Vector2 &) |
| Translate all the points. More...
|
|
void | Scale (const double &) |
| Scale all the points. More...
|
|
void | Scale (const Vector2 &) |
| Scale all the points. More...
|
|
VectorSet2 | Translated (const Vector2 &) const |
| Compute the translated set. More...
|
|
VectorSet2 | Rotated (const double &) const |
| Compute the rotated set. More...
|
|
VectorSet2 | Scaled (const Vector2 &) const |
| Compute the scaled set. More...
|
|
QVector< Vector2 > & | Get () |
| Access to the internal structure.
|
|
int | Nearest (const Vector2 &) const |
| Compute the index of the nearest point to the argument point. More...
|
|
QVector< Vector2 > | Nearest (const Vector2 &, int) const |
| Compute the k-nearest points to the argument point. More...
|
|
QVector< int > | NearestIndexes (const Vector2 &, int) const |
| Compute the set of indexes of the k-nearest points to the argument point. More...
|
|
QVector< int > | NearestIndexes (int, int, const double &=Math::Infinity) const |
| Compute the set of indexes of the k-nearest points to the argument point in the set. More...
|
|
Piecewise point curve in the plane.