Creates a new geometric ellipse or elliptical arc object.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since:
2017_subscription_update
Syntax
C# |
---|
public static Curve CreateCurve(
XYZ center,
double xRadius,
double yRadius,
XYZ xAxis,
XYZ yAxis,
double startParameter,
double endParameter
) |
Visual Basic |
---|
Public Shared Function CreateCurve ( _
center As XYZ, _
xRadius As Double, _
yRadius As Double, _
xAxis As XYZ, _
yAxis As XYZ, _
startParameter As Double, _
endParameter As Double _
) As Curve |
Visual C++ |
---|
public:
static Curve^ CreateCurve(
XYZ^ center,
double xRadius,
double yRadius,
XYZ^ xAxis,
XYZ^ yAxis,
double startParameter,
double endParameter
) |
Parameters
- center
- Type: Autodesk.Revit.DB..::..XYZ
The center.
- xRadius
- Type: System..::..Double
The x vector radius of the ellipse.
- yRadius
- Type: System..::..Double
The y vector radius of the ellipse.
- xAxis
- Type: Autodesk.Revit.DB..::..XYZ
The x axis to define the ellipse plane. Must be normalized.
- yAxis
- Type: Autodesk.Revit.DB..::..XYZ
The y axis to define the ellipse plane. Must be normalized.
- startParameter
- Type: System..::..Double
The raw parameter value at the start of the ellipse.
- endParameter
- Type: System..::..Double
The raw parameter value at the end of the ellipse.
Return Value
The new ellipse or elliptical arc.
Remarks
Exceptions
See Also