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