MeshKit  1.0
AF2RuleNewTriangle.hpp
Go to the documentation of this file.
00001 /*
00002  * AF2RuleNewElement.hpp
00003  *
00004  * A specification of a new triangle that would be created by applying some
00005  * 2-dimensional advancing front rule.
00006  */
00007 #ifndef AF2RULENEWTRIANGLE_HPP
00008 #define AF2RULENEWTRIANGLE_HPP
00009 
00010 #include "meshkit/AF2RuleNewFace.hpp"
00011 
00012 class AF2RuleNewTriangle : public AF2RuleNewFace
00013 {
00014   private:
00015 
00016     unsigned int triVtxIndices[3];
00017 
00018   public:
00019 
00036     AF2RuleNewTriangle(unsigned int firstIndex,
00037         unsigned int secondIndex, unsigned int thirdIndex);
00038 
00039     unsigned int getNumVertices() const;
00040 
00041     unsigned int getVertexIndex(unsigned int vtxNum) const;
00042 };
00043 
00044 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines