Trees | Indices | Help |
|
---|
|
|
|||
Vertex Class to manage vertices. |
|||
Edge Class to manage edges. |
|||
Face Class to manage faces. |
|||
ConvexPolyhedron Class to manage a convex polyhedron. |
|||
Cube Class to manage a cube. |
|||
Tetrahedron Class to manage a tetrahedron. |
|||
Octahedron Class to manage an octahedron. |
|||
Dodecahedron Class to manage a dodecahedron. |
|||
Icosahedron Class to manage an icosahedron. |
|||
Cubeoctahedron Class to manage a cubeoctahedron. |
|||
Parallelepiped Class to manage a parallelepiped. |
|||
Slab Class to manage a slab. |
|||
Sphere Class to manage a sphere. |
|||
Cylinder Class to manage a cylinder. |
|
|||
object |
|
||
float |
|
||
list |
|
||
list of numpy.array |
|
||
numpy.array |
|
|
|||
__doc__ =
|
|||
_version = '$Revision 0.0 $'
|
|||
ORIGIN = [0.0, 0.0, 0.0]
|
|||
X_AXIS = numpy.array(transform.X_AXIS)
|
|||
Y_AXIS = numpy.array(transform.Y_AXIS)
|
|||
Z_AXIS = numpy.array(transform.Z_AXIS)
|
|||
TEMPLATE_ELEMENT = 'C'
|
|||
TEMPLATE_BOND_ORDER = 1
|
|||
INF_NAN_THRESH = 1.0e-12
|
|||
DISTANCE_THRESH = 0.0001
|
|||
SQRT2 = math.sqrt(2.0)
|
|||
INVSQRT2 = 1.0/ SQRT2
|
|||
GOLDEN = constants.golden
|
|||
INVGOLDEN = 1.0/ GOLDEN
|
|||
PI = constants.pi
|
|||
PLATONIC = 'platonic'
|
|||
ARCHIMEDEAN = 'archimedean'
|
|||
PRISM = 'prism'
|
|||
BASIC = 'basic'
|
|||
POLYHEDRON_TYPES = [PLATONIC, ARCHIMEDEAN, PRISM]
|
|||
LENGTH = 'length'
|
|||
AREA = 'area'
|
|||
COLINEAR_THRESH = 0.25
|
|||
SHAPES_NAMES_TO_OBJECTS_DICT = OrderedDict([(Cube.NAME, Cube),
|
|
Return a shape object by name.
|
Return the area of the specified polygon using the shoelace formula.
|
Return a list containing the num_unique number of unique data. The data will be either a list of Face or a list of Edge characterized using the attr AREA or LENGTH, respectively. These will be the reference data used to orient the polyhedron.
|
Get the vertices of the specified parallelepiped.
|
Return the centroid of the provided vertices.
|
|
__doc__
|
SHAPES_NAMES_TO_OBJECTS_DICT
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:17 2015 | http://epydoc.sourceforge.net |