C# Class CrossUI.Geometry.BezierGeometry

Afficher le fichier Open project: pragmatrix/CrossUI

Méthodes publiques

Méthode Description
AtT ( this b, double t ) : Point
bezier ( Point V, int degree, double t, Point Left, Point Right ) : Point
nearestPointOnCubicBezier ( Point V, Point P ) : Point
nearestTOfPoint ( this b, Point p ) : double
nearestTOnCubicBezier ( Point V, Point P ) : double

Private Methods

Méthode Description
ComputeXIntercept ( Point V, int degree ) : double
ControlPolygonFlatEnough ( Point V, int degree ) : bool
ConvertToBezierForm ( Point P, Point V ) : CrossUI.Drawing.Point[]
CrossingCount ( Point V, int degree ) : int
FindRoots ( Point w, int degree, double t, int depth ) : int
SGN ( double v ) : int
V2Dot ( Point a, Point b ) : double
V2ScaleII ( Point v, double s ) : Point
V2SquaredLength ( Point v ) : double
V2Sub ( Point a, Point b, Point &c ) : Point

Method Details

AtT() public static méthode

public static AtT ( this b, double t ) : Point
b this
t double
Résultat CrossUI.Drawing.Point

bezier() public static méthode

public static bezier ( Point V, int degree, double t, Point Left, Point Right ) : Point
V CrossUI.Drawing.Point
degree int
t double
Left CrossUI.Drawing.Point
Right CrossUI.Drawing.Point
Résultat CrossUI.Drawing.Point

nearestPointOnCubicBezier() public static méthode

public static nearestPointOnCubicBezier ( Point V, Point P ) : Point
V CrossUI.Drawing.Point
P CrossUI.Drawing.Point
Résultat CrossUI.Drawing.Point

nearestTOfPoint() public static méthode

public static nearestTOfPoint ( this b, Point p ) : double
b this
p CrossUI.Drawing.Point
Résultat double

nearestTOnCubicBezier() public static méthode

public static nearestTOnCubicBezier ( Point V, Point P ) : double
V CrossUI.Drawing.Point
P CrossUI.Drawing.Point
Résultat double