CircularArc2dExtensionCentroid Method |
Gets the centroid of the arc.
Namespace:
Gile.AutoCAD.Geometry
Assembly:
GeometryExtensions (in GeometryExtensions.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic static Point2d Centroid(
this CircularArc2d arc
)
<ExtensionAttribute>
Public Shared Function Centroid (
arc As CircularArc2d
) As Point2d
public:
[ExtensionAttribute]
static Point2d Centroid(
CircularArc2d^ arc
)
[<ExtensionAttribute>]
static member Centroid :
arc : CircularArc2d -> Point2d
Parameters
- arc
- Type: CircularArc2d
The instance to which the method applies.
Return Value
Type:
Point2dThe centroid of the arc.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
CircularArc2d. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also