|
SiMoLib.NET API V4.0.0.1
|
Interface to a multidimensional spline function. More...
Public Member Functions | |
| int | Calculate () |
| Calculate a spline. The return values are OK = 0, OPTI_ERROR_NOT_LICENSED = -1, OPTI_ERROR_SPLINE_TYPE = -2, OPTI_ERROR_SPLINE_CONDITIONS = -3, OPTI_ERROR_SPLINE_SINGULAR_MATRIX1 = -4, OPTI_ERROR_SPLINE_SINGULAR_MATRIX2 = -5. | |
| bool | EvaluateExtrema () |
| Evaluate the minima aMin and maxima aMax values of the 'absolute acceleration', i.e. the curvature sqrt((d^2Y0/dX^2)^2 + (d^2Y1/dX^2)^2 + (d^2Y2/dX^2)^2), of a up to 3D spline function up to type Quintic, note that smoothing segments are only taken into account with Linear splines. | |
Properties | |
| int | Dimension [get, set] |
| Dimension of the spline function (must be greater than 1). | |
| int | NumberOfPoints [get, set] |
| Number of base points (must be greater than 1). | |
| SplineTypes | SplineType [get, set] |
| Spline type, i.e. when Linear the spline consists of straight lines, when Cubic of 3rd order polynomials, when Quartic of 4th order polynomials, when Quintic of 5th order polynomials and when Septimic of 7th order polynomials. | |
| double[] | TangentStart [get] |
| Tangent vector at the start point of the spline function, i.e. dY/dX, at the start point. | |
| double[] | TangentEnd [get] |
| Tangent vector at the end point of the spline function, i.e. dY/dX, at the end point. | |
| ISpline1D[] | Coordinate [get] |
| One dimensional coordinate splines. | |
| double[] | aMin [get] |
| Minimum 'absolute acceleration' values of the spline and its segments, i.e. the curvature sqrt((d^2Y0/dX^2)^2 + (d^2Y1/dX^2)^2 + (d^2Y2/dX^2)^2), of a up to 3D spline function up to type Quintic after applying EvaluateExtrema(), note that smoothing segments are only taken into account with Linear splines. | |
| double[] | aMax [get] |
| Maximum 'absolute acceleration' values of the spline and its segments, i.e. the curvature sqrt((d^2Y0/dX^2)^2 + (d^2Y1/dX^2)^2 + (d^2Y2/dX^2)^2), of a up to 3D spline function up to type Quintic after applying EvaluateExtrema(), note that smoothing segments are only taken into account with Linear splines. | |
| double[] | SmoothingDistance [get] |
| Smoothing distance at each base point, if set greater than 0.0 by default with linear splines a Quintic segment and with all other splines a Septimic segment is used to smooth the path at this base point. | |
| string | LicenseKey [get, set] |
| To input a Developer or Developer Deploy license string, when read the hardware or software license is stated. | |
Interface to a multidimensional spline function.
| int SiMoPoly.ISpline.Calculate | ( | ) |
Calculate a spline. The return values are OK = 0, OPTI_ERROR_NOT_LICENSED = -1, OPTI_ERROR_SPLINE_TYPE = -2, OPTI_ERROR_SPLINE_CONDITIONS = -3, OPTI_ERROR_SPLINE_SINGULAR_MATRIX1 = -4, OPTI_ERROR_SPLINE_SINGULAR_MATRIX2 = -5.
| bool SiMoPoly.ISpline.EvaluateExtrema | ( | ) |
Evaluate the minima aMin and maxima aMax values of the 'absolute acceleration', i.e. the curvature sqrt((d^2Y0/dX^2)^2 + (d^2Y1/dX^2)^2 + (d^2Y2/dX^2)^2), of a up to 3D spline function up to type Quintic, note that smoothing segments are only taken into account with Linear splines.
|
get |
Maximum 'absolute acceleration' values of the spline and its segments, i.e. the curvature sqrt((d^2Y0/dX^2)^2 + (d^2Y1/dX^2)^2 + (d^2Y2/dX^2)^2), of a up to 3D spline function up to type Quintic after applying EvaluateExtrema(), note that smoothing segments are only taken into account with Linear splines.
|
get |
Minimum 'absolute acceleration' values of the spline and its segments, i.e. the curvature sqrt((d^2Y0/dX^2)^2 + (d^2Y1/dX^2)^2 + (d^2Y2/dX^2)^2), of a up to 3D spline function up to type Quintic after applying EvaluateExtrema(), note that smoothing segments are only taken into account with Linear splines.
|
get |
One dimensional coordinate splines.
|
getset |
Dimension of the spline function (must be greater than 1).
Default value is 2.0
|
getset |
To input a Developer or Developer Deploy license string, when read the hardware or software license is stated.
|
getset |
Number of base points (must be greater than 1).
Default value is 2.0
|
get |
Smoothing distance at each base point, if set greater than 0.0 by default with linear splines a Quintic segment and with all other splines a Septimic segment is used to smooth the path at this base point.
Default value is 0.0
|
getset |
Spline type, i.e. when Linear the spline consists of straight lines, when Cubic of 3rd order polynomials, when Quartic of 4th order polynomials, when Quintic of 5th order polynomials and when Septimic of 7th order polynomials.
Default value is SplineTypes.Cubic
|
get |
Tangent vector at the end point of the spline function, i.e. dY/dX, at the end point.
Default value is 1.0
|
get |
Tangent vector at the start point of the spline function, i.e. dY/dX, at the start point.
Default value is 1.0