THE TRANSFORMATION OF COORDINATES BASED ON DESIGN PATTERNS
Abstract
In this paper a new approach for the transformation of coordinates is suggested.
This approach is based on design patterns which simplify the implementation
significantly. The whole transformation process is depicted as a directed acyclic
orientate graph. There each vertex denotes a class and each edge stands for one or
more algorithms. Thus the transformation is nothing but a crossing of vertices and
edges of this graph. Besides the rather simple maintenance of the program the
complete flow of data concerning the transformation gets quite simple. Furthermore
also the extensibility of the program can easily be performed. All aspects are
explained by examples and code fragments.
This approach is based on design patterns which simplify the implementation
significantly. The whole transformation process is depicted as a directed acyclic
orientate graph. There each vertex denotes a class and each edge stands for one or
more algorithms. Thus the transformation is nothing but a crossing of vertices and
edges of this graph. Besides the rather simple maintenance of the program the
complete flow of data concerning the transformation gets quite simple. Furthermore
also the extensibility of the program can easily be performed. All aspects are
explained by examples and code fragments.
Keywords
Transformação de coordenadas; Padrão de projeto; Uma nova abordagem para a trasfomação de coordenadas; Coordinates transformation; Desing patters; A new approach for tansformation coordinates