Click or drag to resize

NurbsCurveCreateNonRationalArcBezier Method

Creates a non-rational approximation of a rational arc as a single bezier segment

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public static NurbsCurve CreateNonRationalArcBezier(
	int degree,
	Point3d center,
	Point3d start,
	Point3d end,
	double radius,
	double tanSlider,
	double midSlider
)

Parameters

degree
Type: SystemInt32
The degree of the non-rational approximation, can be either 3, 4, or 5
center
Type: Rhino.GeometryPoint3d
The arc center
start
Type: Rhino.GeometryPoint3d
A point in the direction of the start point of the arc
end
Type: Rhino.GeometryPoint3d
A point in the direction of the end point of the arc
radius
Type: SystemDouble
The radius of the arc
tanSlider
Type: SystemDouble
a number between zero and one which moves the tangent control point toward the mid control point of an equivalent quadratic rational arc
midSlider
Type: SystemDouble
a number between zero and one which moves the mid control points toward the mid control point of an equivalent quadratic rational arc

Return Value

Type: NurbsCurve
The approximated arc.
See Also