Package mglutil :: Package math :: Module ncoords :: Class Ncoords
[hide private]
[frames] | no frames]

Class Ncoords

source code

Instance Methods [hide private]
  __init__(self, refCoords, tolist=1)
refCoords is an nx3 list of n points
  reset(self)
  getResultCoords(self)
Return the list of result coordinates

Method Details [hide private]

__init__(self, refCoords, tolist=1)
(Constructor)

source code 

refCoords is an nx3 list of n points

resultCoords is set up and maintained as homogeneous coords if tolist then return the result coords as a python list

reset(self)

source code 
None

getResultCoords(self)

source code 

Return the list of result coordinates

if tolist is set, return an nx3 Python ListType. if tolist is not set, return an nx4 Numeric array.