Package horizons :: Package util :: Package shapes :: Module radiusshape :: Class RadiusShape
[hide private]
[frames] | no frames]

Class RadiusShape

source code

Class for generic shapes with a radius. The shape includes everything, that the center contains plus every point, for which this holds: distance(point, center) <= radius The center can by any other shape. If the center is a point, it's actually a circle.

Instance Methods [hide private]
__init__(self, center, radius) source code