MeshKit  1.0
AF2Point3D.hpp
Go to the documentation of this file.
00001 /*
00002  * AF2Point3D.hpp
00003  *
00004  * An AF2Point3D is a three-dimensional point used in the two-dimensional
00005  * advancing front algorithm.
00006  *
00007  * The coordinates are named x, y, and z.
00008  */
00009 #ifndef AF2POINT_3D_HPP
00010 #define AF2POINT_3D_HPP
00011 
00012 // MOAB
00013 #include "moab/Types.hpp"
00014 
00015 class AF2Point3D
00016 {
00017   private:
00018 
00019     unsigned long localId;
00020     double x, y, z;
00021     unsigned int distToBndry;
00022     bool committed;
00023     moab::EntityHandle vertexHandle;
00024 
00025   public:
00026 
00038     AF2Point3D(unsigned long pntId, double xVal, double yVal, double zVal);
00039 
00044     unsigned int getDistanceToBoundary() const;
00045 
00053     moab::EntityHandle getVertexHandle() const;
00054 
00059     unsigned long getLocalId() const;
00060 
00064     double getX() const;
00065 
00069     double getY() const;
00070 
00074     double getZ() const;
00075 
00079     bool isCommitted() const;
00080 
00086     void limitDistanceToBoundary(unsigned int upperBound);
00087 
00096     void setCommittedHandle(const moab::EntityHandle & vertexHandleArg);
00097 };
00098 
00099 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines