MeshKit
1.0

#include <AF2LocalTransform.hpp>
Public Member Functions  
virtual  ~AF2LocalTransform () 
virtual AF2Point2D *  transformFromSurface (AF2Point3D const &srfcPnt, bool &legal) const =0 
Transform from a 3dimensional point on the surface to a point in a 2dimensional space.  
virtual AF2Point3D *  transformToSurface (AF2Point2D const &planePnt, unsigned long const &pntId) const =0 
Transform from a point in the 2dimensional space of this transformation to a 3dimensional point on the surface. 
Definition at line 18 of file AF2LocalTransform.hpp.
virtual ~AF2LocalTransform  (  )  [inline, virtual] 
Definition at line 23 of file AF2LocalTransform.hpp.
virtual AF2Point2D* transformFromSurface  (  AF2Point3D const &  srfcPnt, 
bool &  legal  
)  const [pure virtual] 
Transform from a 3dimensional point on the surface to a point in a 2dimensional space.
The returned point is returned by pointer. It is allocated on the heap by this method using new, and it is the responsibility of the calling context to deallocate it with a call to delete.
srfcPnt  the input 3dimensional point on the surface 
legal  an editable flag that the AF2LocalTransform may set to false to indicate that the 3dimensional point does not lie in the local patch of the surface for which this transform provides a bijection, so the 2dimensional point returned by the method should not be used except, possibly, as an endpoint of an edge if the other endpoint of the edge is legal 
Implemented in AF2PlaneProjection.
virtual AF2Point3D* transformToSurface  (  AF2Point2D const &  planePnt, 
unsigned long const &  pntId  
)  const [pure virtual] 
Transform from a point in the 2dimensional space of this transformation to a 3dimensional point on the surface.
The returned point is returned by pointer. It is allocated on the heap by this method using new, and it is the responsibility of the calling context to deallocate it with a call to delete.
planePnt  the input 2dimensional point 
pntId  the local point identifier that should be assigned to the new threedimensional point 
Implemented in AF2PlaneProjection.