Constructor DxfVertex2d
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
DxfVertex2d()
Initializes a vertex at the origin with no bulge and no width, as AutoCAD's new Vertex2d(), in no polyline.
public DxfVertex2d()
DxfVertex2d(GeoPoint3, double, double, double, double)
Initializes a vertex, as AutoCAD's new Vertex2d(position, bulge, startWidth, endWidth, tangent), in no polyline
until it is appended to one.
public DxfVertex2d(GeoPoint3 position, double bulge, double startWidth, double endWidth, double tangent)
Parameters
positionGeoPoint3The point, in the system of the polyline's normal.
bulgedoubleThe bulge of the segment that leaves it.
startWidthdoubleThe width where that segment starts.
endWidthdoubleThe width where it ends.
tangentdoubleThe direction the curve fitting takes at it, in radians; not used where TangentUsed is false.
Exceptions
- ArgumentException
Thrown when a coordinate is not a finite number.
- ArgumentOutOfRangeException
Thrown when a number is not finite, or a width is below nought.