Method SetFromGeCurve
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetFromGeCurve(object)
Gives the arc the centre, normal, radius and angles of a GeoArc3, as AutoCAD's SetFromGeCurve,
or of a GeoArc2 at z = 0 on the normal (0, 0, 1), each written as DxfWriter writes one: a
clockwise GeoArc2 from its end to its start, so that it comes back counter-clockwise over the same
points, and the angles through degrees.
public override void SetFromGeCurve(object geCurve)
Parameters
Exceptions
- ArgumentException
Thrown when the shape is not a GeoArc3 or a GeoArc2, is a whole turn, which is written as a CIRCLE, or is not one of finite numbers and some radius.
- InvalidOperationException
Thrown when the arc is erased.