Space
A space is a collection of SObjects.
Any template container class can be instantiated appropriately and
considered a space.
Subclasses:
Secondary operations:
- average_centroid_coord: Space . int -> double
Returns the average of the nth coordinate of the centroid of
the objects in the space.
- bbox: Space . Coords min . Coords max -> void
Sets the coordinates of min and max from the bounding box of the
centroids of the geoms in the space.
- centroids_centroid: Space . Coords -> void
Sets the coords to the centroid of the centroids of the objects.
- copy: Space . Space -> void
Adds the objects of the first space to the second space.
- fill: Space . int . SObject -> void
Adds to the space n new objects of the given prototype.
- min_max_centroid_coord: Space . double* . double* . int -> void
Returns (through pointers) the min and max of the nth
coordinate of the centroid of the objects in the space.
- stddev_centroid_coord: Space . double . int -> double
Returns the standard deviation of the nth coordinate of the centroid of
the objects in the space, which has the given average.