MeshKit
1.0
|
00001 /* 00002 * AF2RuleNewVertex.hpp 00003 * 00004 * A specification of a vertex that will be created during application 00005 * of a rule. The vertex should rarely be created with the coordinates 00006 * at their reference locations, so a point transform is provided that 00007 * will transform the location to a more appropriate location based 00008 * on the actual locations that the rules existing vertices are bound to. 00009 */ 00010 00011 #ifndef AF2RULENEWVERTEX_HPP 00012 #define AF2RULENEWVERTEX_HPP 00013 00014 // MeshKit 00015 #include "meshkit/AF2Point2D.hpp" 00016 #include "meshkit/AF2PointTransform.hpp" 00017 #include "meshkit/AF2Binding.hpp" 00018 00019 class AF2RuleNewVertex 00020 { 00021 private: 00022 00023 AF2Point2D referencePoint; 00024 const AF2PointTransform* pointTransform; 00025 00026 public: 00027 00043 AF2RuleNewVertex(AF2Point2D const & rfrncPoint, 00044 const AF2PointTransform* const & pntTrnsfrm); 00045 00049 ~AF2RuleNewVertex(); 00050 00054 AF2RuleNewVertex(const AF2RuleNewVertex & toCopy); 00055 00059 AF2RuleNewVertex& operator=(const AF2RuleNewVertex & rhs); 00060 00065 AF2Point2D getLocation(AF2Binding const & vertexBinding) const; 00066 }; 00067 00068 #endif