Boost logo

Boost :

From: Andy Little (andy_at_[hidden])
Date: 2006-03-23 09:33:07

"Theodore Papadopoulo" wrote:

> So I'll somewhat oppose to your proposal (and the following ones):
> N is the dimension. namespace notation is just notational not a
> proposal.
> Euclidean::Point<N>
> Euclidean::Line<N> // not very different from projective
> line ??
> Euclidean::SemiLine<N>
> Euclidean::Segment<N>
> Euclidean::Simplex<N>
> Euclidean::Basis<N>

Would I be right in saying that only entities of the same dimension can be added
so SpaceType and dimension can be alternatively be seen as a container rather
than a parameter:


namespace Euclidean { namespace N{

            Point a = Point();
            a = Euclidean::N_plus_1::Point(); // Error !


Andy Little

Boost list run by bdawes at, gregod at, cpdaniel at, john at