Calculates interpolated point between two points using Catmull-Rom Spline
CatmullRomSpline
00 Remarks
01 Syntax
Microsoft.VisualBasic.Math.Interpolation.CatmullRomSpline
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| PointOnCurve | 1 | Calculates interpolated point between two points using Catmull-Rom Spline |
| CatmullRomSpline | 2 | Catmull-Rom splines are a family of cubic interpolating splines formulated such that the tangent at each point Pi Is calculated using the previous And next point on the spline |
03 Members
PointOnCurve(
PointF, PointF, PointF, PointF, Double)Calculates interpolated point between two points using Catmull-Rom Spline
Remarks
Points calculated exist on the spline between points two and three.
Parameters
| Name | Type | Description |
|---|---|---|
p0 | PointF | First Point |
p1 | PointF | Second Point |
p2 | PointF | Third Point |
p3 | PointF | Fourth Point |
t | Double | Normalised distance between second and third point where the spline point will be calculated |
Returns
Calculated Spline Point
CatmullRomSpline(
IEnumerable(Of Point), Double, Boolean)Catmull-Rom splines are a family of cubic interpolating splines formulated such that the tangent at each point Pi Is calculated using the previous And next point on the spline
Parameters
| Name | Type | Description |
|---|---|---|
raw | IEnumerable(Of Point) | - |
interpolationStep# | Double | - |
isPolygon | Boolean | - |
CatmullRomSpline(
IEnumerable(Of PointF), Double, Boolean)Catmull-Rom splines are a family of cubic interpolating splines formulated such that the tangent at each point Pi Is calculated using the previous And next point on the spline
Remarks
Parameters
| Name | Type | Description |
|---|---|---|
points | IEnumerable(Of PointF) | - |
interpolationStep# | Double | - |
isPolygon | Boolean | - |