quadric.h File Reference

Include the definitions to draw spheres, cylinders and disks. More...

#include <config.h>
#include <geometry/geometry.h>

Go to the source code of this file.

Namespaces

namespace  shape
 

Define a set of shape to be drawn using OpenGL.


Functions

void shape::cylinder (const Point3d &base_center, const Point3d &axis, double radius_base, double radius_top, double length, int slices, int stacks, bool closed=true)
 Draw a cylinder.
void shape::disk (const Point3d &center, const Point3d &normal, double inner_radius, double outer_radius, int slices, int loops)
 Draw a disk.
void shape::sphere (const Point3d &center, double radius, int slices, int stacks)
 Draw a sphere.

Detailed Description

Include the definitions to draw spheres, cylinders and disks.

Definition in file quadric.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Fri May 31 15:37:53 2013 for VVE by  doxygen 1.6.3