Functions
contrib/brl/bbas/bdgl/bdgl_peano_curve.h File Reference

construction of Peano curve on a square grid. More...

#include <vgl/vgl_point_2d.h>
#include <vgl/vgl_point_3d.h>
#include <vcl_algorithm.h>

Go to the source code of this file.

Functions

vcl_vector< vgl_point_2d
< double > > 
rotate_2d (vcl_vector< vgl_point_2d< double > > in, double angle)
vcl_vector< vgl_point_2d
< double > > 
trans_2d (vcl_vector< vgl_point_2d< double > > in, double tx, double ty)
vcl_vector< vgl_point_2d
< double > > 
scale_2d (vcl_vector< vgl_point_2d< double > > in, double s)
vcl_vector< vgl_point_2d
< double > > 
recurse_peano_curve (unsigned level)
 Peano curve inscribed in a square of length 4 centered at the origin.
vcl_vector< vgl_point_3d
< double > > 
peano_curve_on_cube (unsigned level)
 peano_curve on cube.

Detailed Description

construction of Peano curve on a square grid.

Author:
Vishal Jain
    Modifications
     Initial version July 6th, 2009
   

Definition in file bdgl_peano_curve.h.


Function Documentation

vcl_vector<vgl_point_3d<double> > peano_curve_on_cube ( unsigned  level)

peano_curve on cube.

Definition at line 111 of file bdgl_peano_curve.cxx.

vcl_vector<vgl_point_2d<double> > recurse_peano_curve ( unsigned  level)

Peano curve inscribed in a square of length 4 centered at the origin.

Definition at line 79 of file bdgl_peano_curve.cxx.

vcl_vector<vgl_point_2d<double> > rotate_2d ( vcl_vector< vgl_point_2d< double > >  in,
double  angle 
)

Definition at line 8 of file bdgl_peano_curve.cxx.

vcl_vector<vgl_point_2d<double> > scale_2d ( vcl_vector< vgl_point_2d< double > >  in,
double  s 
)

Definition at line 35 of file bdgl_peano_curve.cxx.

vcl_vector<vgl_point_2d<double> > trans_2d ( vcl_vector< vgl_point_2d< double > >  in,
double  tx,
double  ty 
)

Definition at line 21 of file bdgl_peano_curve.cxx.