EdgeClustering.CardinalSpline Class Reference

This class provides static functions to generate Cardinal Splines by using Bezier Splines. More...

List of all members.

Static Public Member Functions

Static Private Member Functions


Detailed Description

Author:
Manuel Keglevic
Thomas Schulz

Definition at line 17 of file CardinalSpline.cs.


Member Function Documentation

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.

Parameters:
points control points used to calculate the Cardinal Spline Curve
tension tension of the resulting curve
Returns:

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.

Parameters:
points control points used to calculate the Cardinal Spline Curve
tension tension of the resulting curve
Returns:

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.

Parameters:
end endpoint
other point next to the end
tension tension of the resulting curve
Returns:

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.

Parameters:
p points on the Cardinal Spline
tension tension of the Cardinal Spline
Returns:

Definition at line 93 of file CardinalSpline.cs.

Generated by  doxygen 1.6.3