Class MTCoordinates inherits from class MTVector (4.1). It represents the special case of a three dimensional vector, though it is of four dimensions and can be multiplied with a 4x4 matrix (4.3). In addition to the methods inherited from class MTVetor it implements:
| * calculations | |
| -(double)distanceTo: (MTCoordinates*)c2 |
|
| -(double)distanceToLineFrom: (MTCoordinates*)v2 to: (MTCoordinates*)v3 |
|
| -(double)x |
|
| -(double)y |
|
| -(double)z |
|
| -(id)setX:(double)newx Y:(double)newy Z:(double)newz |
|
| -(id)transformBy: (MTMatrix53*)m |
|
| -(id)rotateBy:(MTMatrix44*)m |
|
| -(id)translateBy: (MTVector*)v |
|
| -(MTMatrix44*)alignToZaxis |
|
| * creation | |
| +(MTCoordinates*)coordsFromCoordinates: (MTCoordinates*)c |
|
| +(MTCoordinates*)coordsFromVector: (MTVector*)v |
|
| +(MTCoordinates*)coordsWithX:(double)x Y:(double)y Z:(double)z |
|
| +(MTCoordinates*)origin |
|
moltalk@moltalk.org version of this document: V3.0