This class implements geometry snap concept.  
 More...
#include <Snap.h>
 | 
| std::size_t  | m_maxGeometries | 
|   | The maximum number of geometries that can be added to the snap. If 0, there will be not limit.  
  | 
|   | 
| std::size_t  | m_nGeometries | 
|   | The current number of geometries added to the snap.  
  | 
|   | 
| std::string  | m_source | 
|   | The source of the geometries.  
  | 
|   | 
| int  | m_srid | 
|   | The SRS of the geometries.  
  | 
|   | 
| double  | m_tolerance | 
|   | The tolerance that will be used by the snap. For while, the unit is screen pixels.  
  | 
|   | 
| te::map::WorldDeviceTransformer *  | m_transformer | 
|   | For transforming from device coordinate to world coordinate and vice-versa.  
  | 
|   | 
This class implements geometry snap concept. 
Definition at line 63 of file Snap.h.
 
◆ Snap()
      
        
          | te::edit::Snap::Snap  | 
          ( | 
          const std::string &  | 
          source,  | 
        
        
           | 
           | 
          int  | 
          srid = TE_UNKNOWN_SRS  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ ~Snap()
  
  
      
        
          | virtual te::edit::Snap::~Snap  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ add() [1/2]
◆ add() [2/2]
◆ build()
◆ clear()
  
  
      
        
          | virtual void te::edit::Snap::clear  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ getDescription()
  
  
      
        
          | virtual std::string te::edit::Snap::getDescription  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ getMaxGeometries()
      
        
          | std::size_t te::edit::Snap::getMaxGeometries  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getName()
  
  
      
        
          | virtual std::string te::edit::Snap::getName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ getNGeometries()
      
        
          | std::size_t te::edit::Snap::getNGeometries  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getSearchEnvelope()
◆ getSource()
      
        
          | std::string te::edit::Snap::getSource  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getSRID()
      
        
          | int te::edit::Snap::getSRID  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getTolerance()
      
        
          | double te::edit::Snap::getTolerance  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ search() [1/2]
◆ search() [2/2]
◆ setTolerance()
      
        
          | void te::edit::Snap::setTolerance  | 
          ( | 
          const double &  | 
          t | ) | 
           | 
        
      
 
 
◆ setWorld()
      
        
          | void te::edit::Snap::setWorld  | 
          ( | 
          const double &  | 
          llx,  | 
        
        
           | 
           | 
          const double &  | 
          lly,  | 
        
        
           | 
           | 
          const double &  | 
          urx,  | 
        
        
           | 
           | 
          const double &  | 
          ury,  | 
        
        
           | 
           | 
          const std::size_t &  | 
          width,  | 
        
        
           | 
           | 
          const std::size_t &  | 
          height  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ m_maxGeometries
  
  
      
        
          | std::size_t te::edit::Snap::m_maxGeometries | 
         
       
   | 
  
protected   | 
  
 
The maximum number of geometries that can be added to the snap. If 0, there will be not limit. 
Definition at line 112 of file Snap.h.
 
 
◆ m_nGeometries
  
  
      
        
          | std::size_t te::edit::Snap::m_nGeometries | 
         
       
   | 
  
protected   | 
  
 
The current number of geometries added to the snap. 
Definition at line 111 of file Snap.h.
 
 
◆ m_source
  
  
      
        
          | std::string te::edit::Snap::m_source | 
         
       
   | 
  
protected   | 
  
 
The source of the geometries. 
Definition at line 109 of file Snap.h.
 
 
◆ m_srid
  
  
      
        
          | int te::edit::Snap::m_srid | 
         
       
   | 
  
protected   | 
  
 
The SRS of the geometries. 
Definition at line 110 of file Snap.h.
 
 
◆ m_tolerance
  
  
      
        
          | double te::edit::Snap::m_tolerance | 
         
       
   | 
  
protected   | 
  
 
The tolerance that will be used by the snap. For while, the unit is screen pixels. 
Definition at line 113 of file Snap.h.
 
 
◆ m_transformer
For transforming from device coordinate to world coordinate and vice-versa. 
Definition at line 114 of file Snap.h.
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/edit/Snap.h