quadric.h

Go to the documentation of this file.
00001 #ifndef VVELIB_SHAPE_QUADRIC_H
00002 #define VVELIB_SHAPE_QUADRIC_H
00003 
00010 #include <config.h>
00011 #include <geometry/geometry.h>
00012 
00018 namespace shape
00019 {
00020   using geometry::Point3d;
00021 
00030   void sphere(const Point3d& center, double radius, int slices, int stacks);
00044   void cylinder(const Point3d& base_center, const Point3d& axis,
00045                 double radius_base, double radius_top, double length,
00046                 int slices, int stacks,
00047                 bool closed = true);
00048 
00059   void disk(const Point3d& center, const Point3d& normal,
00060             double inner_radius, double outer_radius,
00061             int slices, int loops);
00062 }
00063 
00064 #endif // VVELIB_SHAPE_QUADRIC_H
00065 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Fri May 31 15:37:51 2013 for VVE by  doxygen 1.6.3