NoPathsException

class NoPathsException(val shape: Shape2d) : Exception

Some 2d shapes, such as Union2d, Difference2d and Hull2d do not store the points which make up the shape. This exception is thrown when such a shape is used with a method that requires the point data.

For example, performing Shape2d.offset on a Union2d (or a transformation based on it) will throw this exception.

Constructors

Link copied to clipboard
constructor(shape: Shape2d)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard