This simple Manifold is very basic to NAO. The base space of all manifolds is a RealEuclideanNSpace, and often the target space of is as well.
NAO/RealNSp.hand link against library
libNAOBase.aThe following constructors are provided:
| NARealEuclideanNSpace(n ); | |||
| Creates a real Euclidean n space of the given dimension. | |||
|
The following member functions are available in addition to those provided
by the abstract interface NARegion:
Since these manifolds appear so frequently, these is a way to avoid
constructing a new one. The routine
NACreateRealEuclideanNSpace(int)
checks a list of already allocated small dimensional RealEuclideanNSpaces,
and returns one or allocates one if necessary.
#include <NAO/RealNSp.h> NAManifold *R1=new NARealEuclideanNSpace(1);
It is better, however to use the "factory":
NAManifold *R2=NACreateRealEuclideanNSpace(2);
Siblings of this class:
[Comments | NAO home page ]
[ IBM home page | Order | Privacy | ContactIBM | Legal ]