Method TryToGeoRectangle2
- Namespace
- GeometryHelper.CadConvert
- Assembly
- GeometryHelper.CadConvert.dll
TryToGeoRectangle2(Polyline, out GeoRectangle2)
Tries to convert a 4-vertex closed AutoCAD Polyline to a GeometryHelper 2D rectangle.
public static bool TryToGeoRectangle2(this Polyline polyline, out GeoRectangle2 rect)
Parameters
polylinePolylineThe AutoCAD Polyline to convert.
rectGeoRectangle2The converted GeoRectangle2.
Returns
- bool
true if the conversion succeeded; false otherwise.