SFCGAL  2.2.0
Public Types | Public Member Functions | Public Attributes | List of all members
SFCGAL::detail::ConstraintInfo Struct Reference

Structure to identify constraint sources for topology-preserving mode. More...

#include <ConstraintInfo.h>

Public Types

enum  Type {
  Type::LINESTRING, Type::POLYGON_EXTERIOR, Type::POLYGON_INTERIOR, Type::POLYHEDRALSURFACE_EXTERIOR,
  Type::POLYHEDRALSURFACE_INTERIOR, Type::MULTIPOLYGON_EXTERIOR, Type::MULTIPOLYGON_INTERIOR
}
 

Public Member Functions

 ConstraintInfo (Type t, size_t gIdx, size_t rIdx=0)
 

Public Attributes

Type type
 
size_t geomIndex
 
size_t ringIndex
 

Detailed Description

Structure to identify constraint sources for topology-preserving mode.

Member Enumeration Documentation

Enumerator
LINESTRING 
POLYGON_EXTERIOR 
POLYGON_INTERIOR 
POLYHEDRALSURFACE_EXTERIOR 
POLYHEDRALSURFACE_INTERIOR 
MULTIPOLYGON_EXTERIOR 
MULTIPOLYGON_INTERIOR 

Constructor & Destructor Documentation

SFCGAL::detail::ConstraintInfo::ConstraintInfo ( Type  t,
size_t  gIdx,
size_t  rIdx = 0 
)
inline

Member Data Documentation

size_t SFCGAL::detail::ConstraintInfo::geomIndex
size_t SFCGAL::detail::ConstraintInfo::ringIndex
Type SFCGAL::detail::ConstraintInfo::type