__init__(self,
center=( 0.0, 0.0, 0.0) ,
inner_box_size=( 10.0, 10.0, 10.0) ,
outer_box_size=( 30.0, 30.0, 30.0) ,
display_center_box=True,
display_enclosing_box=True)
(Constructor)
|
|
Create an instance of the grid box, hidden initially. Call the show()
method to display the box. The box parameters can be modified by setting
the object's attributes with same names as the arguments to this init
method - the box will be automatically re-drawn.
- Parameters:
center ((float, float, float)) - Center coordinates of the box.
inner_box_size ((float, float, float)) - Inner box size. Defaults to 10 in all dimensions. Typical range
is 6-40A.
outer_box_size ((float, float, float)) - Outer box size. Defaults to 30 in all dimensions. Usually set to
inner_box_size + maximum ligand length.
display_center_box (bool) - Whether to show the center (inner) box.
display_enclosing_box (bool) - Whether to show the outer grid box.
- Overrides:
object.__init__
|