MeshKit
1.0
|
00001 /* 00002 * AF2LocalTransform.hpp 00003 * 00004 * A local transformation between some 2-dimensional space and some 00005 * 2-dimensional subspace of a 3-dimensional space. This transformation 00006 * is used by the 2-dimensional advancing front algorithm to transform 00007 * points between a surface embedded in 3 dimensions and a 2-dimensional 00008 * space. The transformation should be a bijection between the 00009 * 2-dimensional space and some local patch on the surface, but 00010 * it does not need to be a global parametrization. 00011 */ 00012 #ifndef AF2LOCALTRANSFORM_HPP 00013 #define AF2LOCALTRANSFORM_HPP 00014 00015 #include "meshkit/AF2Point2D.hpp" 00016 #include "meshkit/AF2Point3D.hpp" 00017 00018 class AF2LocalTransform 00019 { 00020 00021 public: 00022 00023 virtual ~AF2LocalTransform() {} 00024 00044 virtual AF2Point2D* transformFromSurface( 00045 AF2Point3D const & srfcPnt, bool & legal) const = 0; 00046 00060 virtual AF2Point3D* transformToSurface( 00061 AF2Point2D const & planePnt, 00062 unsigned long const & pntId) const = 0; 00063 }; 00064 00065 #endif