2021 Method
Changes 0
M

Ellipse.CreateCurve

Description:
Creates a new geometric ellipse or elliptical arc object.
Remarks:
If the angle range is equal to or greater than 2 * PI, the curve will be automatically converted to an unbounded ellipse. If xRadius and yRadius are almost equal, the curve will be returned as an arc.
public static Curve CreateCurve(
	XYZ center,
	double xRadius,
	double yRadius,
	XYZ xAxis,
	XYZ yAxis,
	double startParameter,
	double endParameter
)
  • center
    The center.
  • Double
    xRadius
    The x vector radius of the ellipse.
  • Double
    yRadius
    The y vector radius of the ellipse.
  • xAxis
    The x axis to define the ellipse plane. Must be normalized.
  • yAxis
    The y axis to define the ellipse plane. Must be normalized.
  • Double
    startParameter
    The raw parameter value at the start of the ellipse.
  • Double
    endParameter
    The raw parameter value at the end of the ellipse.
Return Value Curve The new ellipse or elliptical arc.