cgma
FacetShapeDefs.hpp
Go to the documentation of this file.
00001 #ifndef FACET_SHAPE_DEFS_HPP
00002 #define FACET_SHAPE_DEFS_HPP
00003 
00004 #include <vector>
00005 
00006 typedef std::vector<double> FacetPointSet;
00007 
00008 struct FacetShapes
00009 {};
00010 
00011 struct VertexFacets : public FacetShapes
00012 {
00013   VertexFacets() {}
00014   int point;
00015 };
00016 
00017 struct CurveFacets : public FacetShapes
00018 {
00019   CurveFacets() {}
00020   VertexFacets* vertexTopology[2];
00021   std::vector<int> points; //inclusive of end points
00022 };
00023 
00024 struct SurfaceFacets : public FacetShapes
00025 {
00026   SurfaceFacets() {}
00027   std::vector<std::vector<std::pair<CurveFacets*, CubitSense> > > curveTopology;
00028   std::vector<int> facetConnectivity; 
00029 };
00030 
00031 struct VolumeFacets : public FacetShapes
00032 {
00033   VolumeFacets() {}
00034   std::vector<std::pair<SurfaceFacets*, CubitSense> > surfaceTopology;
00035 };
00036 
00037 #endif //FACET_SHAPE_DEFS_HPP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines