Table of Contents

Enum PolylineException.PolylineExceptionType

Namespace
CADability.GeoObject
Assembly
CADability.dll

The reason for a PolylineException: General for an invalid value (e.g. a width or an angle of 0), NoPoints when the polyline has no or too few vertices for the operation, NoRectangle and NoParallelogram when a rectangle or parallelogram member is used on a polyline that is not one, and RectangleSameDirections when SetRectangle(GeoPoint, GeoVector, GeoVector) is called with parallel directions.

public enum PolylineException.PolylineExceptionType

Fields

General = 0
NoParallelogram = 3
NoPoints = 1
NoRectangle = 2
RectangleSameDirections = 4