ArcCreate(Plane, Double, Double, Double) Method |
Creates a new geometric arc object based on plane, radius, and angles.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic static Arc Create(
Plane plane,
double radius,
double startAngle,
double endAngle
)
Public Shared Function Create (
plane As Plane,
radius As Double,
startAngle As Double,
endAngle As Double
) As Arc
public:
static Arc^ Create(
Plane^ plane,
double radius,
double startAngle,
double endAngle
)
static member Create :
plane : Plane *
radius : float *
startAngle : float *
endAngle : float -> Arc
Parameters
- plane Plane
-
The plane which the arc resides. The plane's origin is the center of the arc.
- radius Double
-
The radius of the arc.
- startAngle Double
-
The start angle of the arc (in radians).
- endAngle Double
-
The end angle of the arc (in radians).
Return Value
Arc
The new arc.
Exceptions
Remarks
If the angle range is equal to or greater than 2 * PI, the curve will be
automatically converted to an unbounded circle.
See Also