This class provides static functions to generate Cardinal Splines by using Bezier Splines. More...
Definition at line 17 of file CardinalSpline.cs.
static StreamGeometry EdgeClustering.CardinalSpline.CalculateCardinalSplinePath | ( | Point[] | points, | |
double | tension | |||
) | [static] |
This functions uses given points to create a Cardinal Spline Curve passing through that points.
points | control points used to calculate the Cardinal Spline Curve | |
tension | tension of the resulting curve |
Definition at line 25 of file CardinalSpline.cs.
static Point [] EdgeClustering.CardinalSpline.CalculateControlPoints | ( | Point[] | points, | |
double | tension | |||
) | [static, private] |
This function calculates the Bezier Control points representing a Cardinal Spline Curve with the given points and tension.
points | control points used to calculate the Cardinal Spline Curve | |
tension | tension of the resulting curve |
Definition at line 50 of file CardinalSpline.cs.
static Point EdgeClustering.CardinalSpline.CalculateEnd | ( | Point | end, | |
Point | other, | |||
double | tension | |||
) | [static, private] |
Calculates the Bezier Control points for the endpoints of the Cardinal Spline Curve.
end | endpoint | |
other | point next to the end | |
tension | tension of the resulting curve |
Definition at line 82 of file CardinalSpline.cs.
static Point [] EdgeClustering.CardinalSpline.CaclculateCurve | ( | Point[] | p, | |
double | tension | |||
) | [static, private] |
Calculates the Bezier Control points for a given set of 3 points.
p | points on the Cardinal Spline | |
tension | tension of the Cardinal Spline |
Definition at line 93 of file CardinalSpline.cs.