BioSimSpace.Types.Coordinate¶
-
class
BioSimSpace.Types.
Coordinate
(x, y, z)¶ A coordinate (position vector).
-
__init__
(x, y, z)¶ Constructor.
- Parameters
x – The x position.
y – The y position.
z – The z position.
Methods
__init__
(x, y, z)Constructor.
fromVector
(vector, unit)Convert from a unitless BioSimSpace.Types.Vector object.
toVector
()Convert to a unitless BioSimSpace.Types.Vector object.
x
()Return the x component of the coordinate.
y
()Return the y component of the coordinate.
z
()Return the z component of the coordinate.
-
static
fromVector
(vector, unit)¶ Convert from a unitless BioSimSpace.Types.Vector object.
-
toVector
()¶ Convert to a unitless BioSimSpace.Types.Vector object.
- Returns
vector – The unitless vector.
- Return type
- class
-
x
()¶ Return the x component of the coordinate.
- Returns
x – The x component of the coordinate.
- Return type
- class
-
y
()¶ Return the y component of the coordinate.
- Returns
y – The y component of the coordinate.
- Return type
- class
-