A curve that interpolates a list of points. More...
#include <CPACSCurvePointListXYZ.h>
Protected Attributes | |
boost::optional< CCPACSStringVector > | m_kinkIndices |
Indices of points at which the curve has a kink. Each index is in the range [1, npoints]. More... | |
boost::optional< CCPACSCurveParamPointMap > | m_parameterMap |
Map between point index and curve parameter. More... | |
CPACSProfileGeometry * | m_parent |
CCPACSStringVector | m_x |
Vector of x coordinates. More... | |
CCPACSStringVector | m_y |
Vector of y coordinates. More... | |
CCPACSStringVector | m_z |
Vector of z coordinates. More... | |
Private Member Functions | |
CPACSCurvePointListXYZ (const CPACSCurvePointListXYZ &)=delete | |
CPACSCurvePointListXYZ (CPACSCurvePointListXYZ &&)=delete | |
CPACSCurvePointListXYZ & | operator= (const CPACSCurvePointListXYZ &)=delete |
CPACSCurvePointListXYZ & | operator= (CPACSCurvePointListXYZ &&)=delete |
A curve that interpolates a list of points.
The curve interpolates the list of points, typically with a b-spline. In theory, the interpolation is somewhat ambiguous as it is not defined at which curve parameter a point will be interpolated. To solve is ambiguity, an optional parameter map can be defined that maps point indices with curve parameters. Kinks can also be modeled by populating the "kinks" array with the indices of points that should be on a kink. As an example, look at the following image:
<pointList> <x>...</x> <y>...</y> <z>...</z> <kinks>3;7</kinks> <parameterMap> <pointIndex>3;5;7</pointIndex> <paramOnCurve>0.2;0.5;0.8</paramOnCurve> </parameterMap> </pointList>
TIGL_EXPORT tigl::generated::CPACSCurvePointListXYZ::CPACSCurvePointListXYZ | ( | CPACSProfileGeometry * | parent | ) |
|
virtual |
|
privatedelete |
|
privatedelete |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
TIGL_EXPORT CPACSProfileGeometry* tigl::generated::CPACSCurvePointListXYZ::GetParent | ( | ) |
TIGL_EXPORT const CPACSProfileGeometry* tigl::generated::CPACSCurvePointListXYZ::GetParent | ( | ) | const |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
privatedelete |
|
privatedelete |
|
virtual |
Reimplemented in tigl::CCPACSCurvePointListXYZ.
|
virtual |
|
virtual |
|
virtual |
|
protected |
Indices of points at which the curve has a kink. Each index is in the range [1, npoints].
|
protected |
Map between point index and curve parameter.
|
protected |
|
protected |
Vector of x coordinates.
|
protected |
Vector of y coordinates.
|
protected |
Vector of z coordinates.