public abstract class Shape
Base class for all obstacles during a raycasting process.

Properties

Bounds

#
public abstract Box Bounds { get; }
Gets the bounding box for this shape.

Methods

IsCoincident

#
public abstract bool IsCoincident(double x, double y)
Test whether a specific coordinate is coincident with this obstacle.
x (double)
y (double)
True if point is coincident.

Overlap

#
public abstract Overlap Overlap(Box box)
Determine the overlap between this shape and a box.
box (Box)Box.
Overlap topology.