shape_doc 0.1
|
00001 /***************************************************************************** 00002 * M a t h e m a g i x 00003 ***************************************************************************** 00004 * GlObject.hpp 00005 * 2008-03-21 00006 * Bernad Mourrain 00007 ***************************************************************************** 00008 * Copyright (C) 2006 INRIA Sophia-Antipolis 00009 ***************************************************************************** 00010 * Comments : 00011 ****************************************************************************/ 00012 # ifndef shape_surface_pl_hpp 00013 # define shape_surface_pl_hpp 00014 00015 # include <shape/shape.hpp> 00016 # include <shape/point.hpp> 00017 # include <shape/edge.hpp> 00018 # include <shape/face.hpp> 00019 00020 # define Point point<double> 00021 # define Edge edge 00022 # define Face face 00023 //==================================================================== 00024 namespace mmx { 00025 namespace shape { 00026 00027 class surface_pl : public Shape { 00028 public: 00029 int type; 00030 Seq<Point> vertices; 00031 Seq<Edge> edges; 00032 Seq<Face> faces; 00033 00034 surface_pl(void) ; 00035 virtual ~surface_pl(void) ; 00036 }; 00037 00038 } ; // namespace shape 00039 } ; // namespace mmx 00040 //==================================================================== 00041 # undef Point 00042 # undef Edge 00043 # undef Face 00044 # endif // shape_surface_pl_hpp