Table of Contents

Class Polyline2DException

Namespace
CADability.Curve2D
Assembly
CADability.dll

Thrown by the constructor of Polyline2D when the polyline cannot be built, i.e. when fewer than two distinct vertices are given. MakePolyline2D(GeoPoint2D[]) returns null in that case instead.

public class Polyline2DException : ApplicationException, ISerializable
Inheritance
Polyline2DException
Implements
Inherited Members

Constructors

Polyline2DException(string)

Creates the exception with the given message.

public Polyline2DException(string msg)

Parameters

msg string

the message describing the failure