The _VDCoordinateFrame class is primarily a utility class. It acts as
a container of three _VDAxis objects. These correspond to the X, Y and Z
axes.
|
__init__(self,
N,
resolution,
origin)
This function creates a new _VDCoordinateFrame object. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool
|
IsCompatible(self,
cf)
This function can be used to test whether cf is compatible with this
_VDCoordinateFrame. |
|
|
iterable< float, 3 >
|
ToArrayCoordinate(self,
world)
Converts the specified world-coordinate to the corresponding
array-coordinate. |
|
|
iterable< iterable< float, 3 > >
|
ToArrayCoordinateL(self,
worldCoordinates)
Converts the specified set of world-coordinates to the corresponding
array-coordinates. |
|
|
iterable< float, 3 >
|
ToWorldCoordinate(self,
array)
Converts the specified array-coordinate to the corresponding
world-coordinate. |
|
|
iterable< iterable< float, 3 > >
|
ToWorldCoordinateL(self,
arrayCoordinates)
Converts the specified set of array-coordinates to the corresponding
world-coordinates. |
|
|
bool
|
InBounds(self,
world)
Tests whether the world-coordinate corresponds to a position that is
within the bounds of the array-coordinates. |
|
|
iterator< iterable< int, 3 > >
|
ArrayCoordinates(self)
This function returns an iterator which allows the array-coordinates
corresponding to this _VDCoordinateFrame to be traversed. |
|
|
iterable< iterable< int, 3 >
|
|
iterator< iterable< float, 3 > >
|
WorldCoordinates(self)
This function returns an iterator which allows the world-coordinates
corresponding to this _VDCoordinateFrame to be traversed. |
|
|
iterable< iterable< float, 3 > >
|
|
iterator< tuple< iterable< int, 3 >, iterable<
float, 3 > > >
|
Coordinates(self)
This function returns an iterator which allows the array-coordinates
and world-coordinates corresponding to this _VDCoordinateFrame to be
traversed. |
|
|
_VDAxis
|
Axis(self,
n)
This function allows access to the underlying _VDAxis object
corresponding to n. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|