C# Class HouseOfTheFuture.Api.Host.Controllers.BezierSpline

Bezier Spline methods
Show file Open project: HouseOfTheFuture/API-App

Public Methods

Method Description
GetCurveControlPoints ( Point knots, Point &firstControlPoints, Point &secondControlPoints ) : void

Get open-ended Bezier Spline Control Points.

Private Methods

Method Description
GetFirstControlPoints ( double rhs ) : double[]

Solves a tridiagonal system for one of coordinates (x or y) of first Bezier control points.

Method Details

GetCurveControlPoints() public static method

Get open-ended Bezier Spline Control Points.
/// parameter must be not null. /// array must contain at least two points.
public static GetCurveControlPoints ( Point knots, Point &firstControlPoints, Point &secondControlPoints ) : void
knots Point Input Knot Bezier spline points.
firstControlPoints Point Output First Control points /// array of knots.Length - 1 length.
secondControlPoints Point Output Second Control points /// array of knots.Length - 1 length.
return void