A part of a PolygonEntity exterior ring, that may be share between to adjacent PolygonEntity.  
 More...
#include <landr/PolygonEdge.hpp>
A part of a PolygonEntity exterior ring, that may be share between to adjacent PolygonEntity. 
A PolygonEdge has one or two Faces. The Faces are the PolygonEntity that share this PolygonEdge. 
      
        
          | openfluid::landr::PolygonEdge::PolygonEdge | ( | geos::geom::LineString & | Line | ) |  | 
      
 
 
      
        
          | openfluid::landr::PolygonEdge::~PolygonEdge | ( |  | ) |  | 
      
 
 
      
        
          | void openfluid::landr::PolygonEdge::addFace | ( | PolygonEntity & | NewFace | ) |  | 
      
 
 
      
        
          | bool openfluid::landr::PolygonEdge::getAttributeValue | ( | const std::string & | AttributeName, | 
        
          |  |  | core::Value & | Value | 
        
          |  | ) |  | const | 
      
 
Gets the value of an attribute of this PolygonEdge. 
- Parameters
- 
  
    | AttributeName | The name of the attribute to get. |  | Value | The core::Value to assign the attribute value. |  
 
- Returns
- True if the attribute exists, false otherwise. 
 
 
      
        
          | const std::vector<PolygonEntity*> openfluid::landr::PolygonEdge::getFaces | ( |  | ) |  | 
      
 
 
      
        
          | bool openfluid::landr::PolygonEdge::isCoincident | ( | PolygonEdge * | Edge | ) |  | 
      
 
 
      
        
          | bool openfluid::landr::PolygonEdge::isLineInFace | ( | PolygonEntity & | Face | ) |  | 
      
 
 
      
        
          | geos::geom::LineString* openfluid::landr::PolygonEdge::line | ( |  | ) |  | 
      
 
Returns the geos::geom::LineString representing this PolygonEdge. 
 
 
      
        
          | void openfluid::landr::PolygonEdge::removeAttribute | ( | const std::string & | AttributeName | ) |  | 
      
 
Removes an attribute of this PolygonEdge. 
- Parameters
- 
  
    | AttributeName | The name of the attribute to set. |  
 
 
 
      
        
          | void openfluid::landr::PolygonEdge::removeFace | ( | PolygonEntity * | Face | ) |  | 
      
 
Removes a Face from the Faces of this PolygonEdge. 
Does nothing if the input Face is not a part of this PolygonEdge Faces. 
- Parameters
- 
  
  
 
 
      
        
          | bool openfluid::landr::PolygonEdge::setAttributeValue | ( | const std::string & | AttributeName, | 
        
          |  |  | const core::Value * | Value | 
        
          |  | ) |  |  | 
      
 
Sets the value of an attribute of this PolygonEdge. 
Takes the ownership of Value. 
- Parameters
- 
  
    | AttributeName | The name of the attribute to set. |  | Value | The core::Value assign to the attribute value. |  
 
- Returns
- True if the attribute exists, false otherwise. 
 
 
      
        
          | std::map<std::string, core::Value*> openfluid::landr::PolygonEdge::m_EdgeAttributes | 
      
 
Map of Attributes which are carried by this PolygonEdge. 
 
 
The documentation for this class was generated from the following file: