Method SetFromGeCurve
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetFromGeCurve(object)
Gives the circle the centre, normal and radius of a GeoCircle3, as AutoCAD's SetFromGeCurve, or
of a GeoCircle2 at z = 0 on the normal (0, 0, 1), each written as DxfWriter writes one.
public override void SetFromGeCurve(object geCurve)
Parameters
geCurveobjectThe circle, a GeoCircle3 or a GeoCircle2.
Exceptions
- ArgumentException
Thrown when the shape is not a GeoCircle3 or a GeoCircle2, or not one of finite numbers and some radius.
- InvalidOperationException
Thrown when the circle is erased.