Module spade::primitives

source ·
Expand description

Contains some useful primitives that can be inserted into r-trees.

Use these objects if only the geometrical properties (position and size) are important. If additional data needs to be stored per object, consider implementing SpatialObject.

Structs

Yields information on which side of a line a point lies.
An n-dimensional circle, defined by its origin and radius.
An edge defined by it’s two end points.
A triangle, defined by it’s three points.