cadnano.extras.math.solid module¶
-
class
Solid(name)¶ Bases:
object-
addFace(v1, v2, v3, normal=None)¶ List vertices using right hand rule so that unit normal will point out of the surface
vertices are given by index into vertices list
Parameters:
-
addVertex(vertex)¶ Add a vertex to the Solid :param vertex: :type vertex: Vector3
-
applyMatrix(matrix4)¶
-
computeFaceNormals()¶
-
