SmtC: Show me the Code
Ole Peter Smith
Instituto de Matemática e Estatística
Universidade Federal de Goiás
http://www.olesmith.com.br

Transformações
O conhecimento adquirimos com os livros e os mestres.
A sabedoria aprendemos com o povo e os humildes.
Cora Coralina
< Linear | Translação | Rotação >

Translação com vetor [;\underline{t};]:

[; T(\underline{v})=\underline{v}+\underline{t} ;]

Affim, mas não linear.
Python Listing: ../../Code/Translation.py.
from Vector import *
from Matrix  import *
from Transformation  import *

class Translation(Transformation):

    def __init__(self,b):
        self.Dim=len(b)
        self.A=Matrix(self.Dim)
        self.b=b

        return
< Linear | Translação | Rotação >

Messages:
0 secs.