Package svs_simulation :: Package numdata :: Module geomlib
[show private | hide private]
[frames | no frames]

Module svs_simulation.numdata.geomlib

Objects for representing basic geometric elements.

Author: Simon Yuill

Contact: simon@lipparosa.org

Copyright: 2005 Simon Yuill

License: GNU GPL version 2 or any later version

Classes
AxialBounds2D Represents anaxially-aligned rectangular bounding box in 2D space.
CentredAxialBounds2D Axial bounds that places its origin in the centre.
Point2D Represents a point in 2D space.
Point3D Represents a point in 3D space.
PolarCoordinate Represents a point in polar space, such as on the circumference of a circle.
Rect2D Represents an orthogonal rectangular area in 2D space.
Size2D Represents a size in 2D space.
SphereBounds2D Represents a spherical bounding box in 2D space.

Function Summary
  angleFromAtoB(aX, aY, bX, bY)
  containsBounds(bounds1, bounds2)
Checks if bounds2 lies within bounds1, return True or False.
  intersectsBounds(bounds1, bounds2)
Checks if bounds2 intersects with bounds1, return True or False.

Variable Summary
Constants geom_const = <svs_core.utilities.lib.Constants instance ...

Function Details

containsBounds(bounds1, bounds2)

Checks if bounds2 lies within bounds1, return True or False.

intersectsBounds(bounds1, bounds2)

Checks if bounds2 intersects with bounds1, return True or False.

Variable Details

geom_const

Type:
Constants
Value:
<svs_core.utilities.lib.Constants instance at 0x307da6c0>              

Generated by Epydoc 2.1 on Thu Oct 20 15:30:25 2005 http://epydoc.sf.net