__init__(self,
a_param,
b_param,
c_param,
center=[ 0.0, 0.0, 0.0] ,
ref_face_idx=1,
ref_face_normal_along=array([ 0., 0., 1.]),
ref_edge_idx=1,
ref_edge_along=array([ 1., 0., 0.]))
(Constructor)
|
|
Create an instance.
- Parameters:
a_param (float) - the length of the parallelepiped along edge a
b_param (float) - the length of the parallelepiped along edge b
c_param (float) - the length of the parallelepiped along edge c
center (numpy.array) - the center of the polyhedron
ref_face_idx (int) - specifies which of this polyhedron's available reference faces
(symmetry unique faces sorted by decreasing area) to use in the
alignment
ref_face_normal_along (numpy.array triple) - specifies the vector along which the reference face normal will
be aligned
ref_edge_idx (int) - specifies which of the reference faces available reference edges
(symmetry unique edges sorted by decreasing length) to use in the
alignment
ref_edge_along (numpy.array triple) - specifies the vector along which the reference edge will be
aligned
- Overrides:
object.__init__
|