Bezier2d Class
Cubic Bezier curve
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
|
Name
|
Description
|
|
ArcFit(double)
|
Fits a polyline with arcs to the bezier curve given a certain tolerance
|
|
ArcFitNew(double, Action<Arc2dArc2d>)
|
Uses biarc fitting, giving arcs that are tangential through the entire spline.
|
|
ClosestPoint(Point2d)
|
|
|
CreateFromArc(Arc2d)
|
|
|
Distance(Point2d)
|
Computes the distance from a point to this object.
|
|
Eval(double)
|
Evalates the bezier curve at time t.
|
|
FitCubic(List<Point2d>)
|
Fits a Bezier2d through a list of points.
|
|
Flatten(double)
|
|
|
GetInflectionParams()
|
Get bezier inflection parameters.
https://github.com/rougier/gl-bezier/blob/master/cubic_bezier.py
|
|
GetSubCurve(double, double)
|
Calculates a new bezier curve between t1 and t2
|
|
Mirror(Point2d, Point2d)
|
Reflects the object over a line specified by two points.
|
|
ParamsAt(Point2d, double)
|
Returns all parameters at a given point.
|
|
Rotate(double)
|
Rotates the object around origo.
|
|
Rotate(double, Point2d)
|
Rotates the object around a given point.
|
|
Scale(double)
|
Scales the object with a factor. A factor larger than 1.0
makes it larger, and less than 1.0 smaller.
|
|
Scale(double, Point2d)
|
Scales the object using a given scaling center. A factor larger than 1.0
makes it larger, and less than 1.0 smaller.
|
|
Split(double, out Bezier2d, out Bezier2d)
|
|
|
Tangent(double)
|
|
|
TangentsAt(Point2d, double)
|
Returns all tangent angles at a given point.
|
|
ToRegion(double)
|
Converts the object to a Region2d representation. Some objects that cannot be represented exactly uses
a tolerance to approximate themselves to a region.
|
|
Transform(Matrix2d)
|
Transforms the object with a matrix.
|
|
Translate(double, double)
|
Moves the object a specified distance.
|
Top
.NET Framework
Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8