|
| PointCurve () |
| Empty.
|
|
| PointCurve (const CubicCurve &, int, const double &=0.0, const double &=1.0) |
| Creates a point curve from a cubic curve.
|
|
| PointCurve (const QuadricCurve &, int, const double &=0.0, const double &=1.0) |
| Creates a point curve from a quadric curve.
|
|
| PointCurve (const QVector< Vector > &, bool=false) |
| Creates a curve with points.
|
|
| ~PointCurve () |
| Empty.
|
|
int | Size () const |
| Return the size of the sampled curve.
|
|
Vector | Tangent (int) const |
| Compute the tangent at a given point.
|
|
bool | IsClosed () const |
| Check if the curve is closed.
|
|
double | R (const Vector &, double &, int &) const |
| Computes the projection of p onto the piecewise linear curve and returns the squared distance.
|
|
void | Rotate (const Matrix &) |
| Rotate the curve.
|
|
void | Translate (const Vector &) |
| Rotate the curve.
|
|
void | Scale (const double &) |
| Scale the curve.
|
|
void | Transform (const Frame &) |
| Tranform the curve.
|
|
PointCurve | Transformed (const Frame &) const |
| Tranform the curve.
|
|
double | Length () const |
| Compute the length of the curve.
|
|
| VectorSet () |
| Empty.
|
|
| VectorSet (const VectorSet2 &) |
| Create a set of vectors.
|
|
| VectorSet (const QVector< Vector > &) |
| Create a set of vectors.
|
|
| VectorSet (Vector *, unsigned int) |
| Create a set of vectors.
|
|
VectorSet | VectorToPoint () const |
| Convert a series of displacements into positions.
|
|
void | Reverse () |
| Reverse the order of the elements.
|
|
| ~VectorSet () |
| Empty.
|
|
Vector | At (int) const |
| Access to element.
|
|
Vector | Vertex (int) const |
| Access to element.
|
|
Vector & | operator[] (int) |
| Access to element.
|
|
int | Size () const |
| Return the size of the set.
|
|
Vector | Barycenter () const |
| Compute the barycenter.
|
|
void | Append (const Vector &) |
| Add a point to the set.
|
|
Box | GetBox () const |
| Compute the bounding box.
|
|
void | Rotate (const Matrix &) |
| Rotate all the points.
|
|
void | Translate (const Vector &) |
| Translate all the points.
|
|
void | Scale (const double &) |
| Scale all the points.
|
|
void | Scale (const Vector &) |
| Scale all the points.
|
|
void | Transform (const Frame &) |
| Transform all the points.
|
|
void | Transform (const FrameScaled &) |
| Transform all the points.
|
|
QVector< Vector > & | Get () |
| Access to the internal structure.
|
|
const QVector< Vector > & | Get () const |
| Access to the internal structure.
|
|
void | Clean (const double &) |
| Remove redundant points that are within epsilon distance.
|
|
void | Load (const QString &) |
| Extract vertexes from an .obj file.
|
|
int | Nearest (const Vector &) const |
| Compute the index of the nearest point to the argument point.
|
|
QVector< Vector > | Nearest (const Vector &, int) const |
| Compute the k-nearest points to the argument point.
|
|
QVector< int > | NearestIndexes (const Vector &, int) const |
| Compute the set of indexes of the k-nearest points to the argument point.
|
|
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.
|
|