te::gm::GeometrySubdivider Class Reference

This class contains functions to help subdivide a geometry into small parts. More...

#include <GeometrySubdivider.h>

Classes

struct  ColumnRow
 

Public Member Functions

 GeometrySubdivider ()
 Constructor. More...
 
virtual ~GeometrySubdivider ()
 Destructor. More...
 

Static Public Member Functions

static te::gm::GeometryVector subdivideByCellTilling (const te::gm::Geometry *geometry, const te::gm::CellTilling &cellTilling, std::vector< ColumnRow > &vecColumnRow)
 
static te::gm::GeometryPtr subdivideByClipping (const te::gm::Geometry *geometry, const te::gm::Envelope &envelope)
 
static te::gm::GeometryVector subdivideByMaxCoordinates (const te::gm::Geometry *geometry, std::size_t maxCoordinates)
 Subdivides the given geometry recursivelly using its envelope spplited in 4 parts until all the subparts have less then the given 'maxCoordinates' coordinates. More...
 

Static Protected Member Functions

static te::gm::GeometryfixNoding (const te::gm::Geometry *geometry)
 
static te::gm::GeometryVector fixNoding (const te::gm::GeometryVector &vecGeometries)
 
static te::gm::GeometryVector subdivideByCellTillingImpl (const te::gm::Geometry *geometry, const te::gm::CellTilling &cellTilling, std::vector< ColumnRow > &vecColumnRow)
 
static te::gm::GeometryPtr subdivideByClippingImpl (const te::gm::Geometry *geometry, const te::gm::Envelope &envelope)
 
static te::gm::GeometryVector subdivideByMaxCoordinatesImpl (const te::gm::Geometry *geometry, const te::gm::Envelope &envelope, std::size_t maxCoordinates)
 Subdivides the given geometry recursivelly using its envelope spplited in 4 parts until all the subparts have less then the given 'maxCoordinates' coordinates. More...
 
static te::gm::GeometryVector subdivideByMaxCoordinatesImpl (const te::gm::Geometry *geometry, std::size_t maxCoordinates)
 Subdivides the given geometry recursivelly using its envelope spplited in 4 parts until all the subparts have less then the given 'maxCoordinates' coordinates. More...
 

Detailed Description

This class contains functions to help subdivide a geometry into small parts.

Definition at line 47 of file GeometrySubdivider.h.

Constructor & Destructor Documentation

◆ GeometrySubdivider()

te::gm::GeometrySubdivider::GeometrySubdivider ( )

Constructor.

◆ ~GeometrySubdivider()

virtual te::gm::GeometrySubdivider::~GeometrySubdivider ( )
virtual

Destructor.

Member Function Documentation

◆ fixNoding() [1/2]

static te::gm::Geometry* te::gm::GeometrySubdivider::fixNoding ( const te::gm::Geometry geometry)
staticprotected

◆ fixNoding() [2/2]

static te::gm::GeometryVector te::gm::GeometrySubdivider::fixNoding ( const te::gm::GeometryVector vecGeometries)
staticprotected

◆ subdivideByCellTilling()

static te::gm::GeometryVector te::gm::GeometrySubdivider::subdivideByCellTilling ( const te::gm::Geometry geometry,
const te::gm::CellTilling cellTilling,
std::vector< ColumnRow > &  vecColumnRow 
)
static

◆ subdivideByCellTillingImpl()

static te::gm::GeometryVector te::gm::GeometrySubdivider::subdivideByCellTillingImpl ( const te::gm::Geometry geometry,
const te::gm::CellTilling cellTilling,
std::vector< ColumnRow > &  vecColumnRow 
)
staticprotected

◆ subdivideByClipping()

static te::gm::GeometryPtr te::gm::GeometrySubdivider::subdivideByClipping ( const te::gm::Geometry geometry,
const te::gm::Envelope envelope 
)
static

◆ subdivideByClippingImpl()

static te::gm::GeometryPtr te::gm::GeometrySubdivider::subdivideByClippingImpl ( const te::gm::Geometry geometry,
const te::gm::Envelope envelope 
)
staticprotected

◆ subdivideByMaxCoordinates()

static te::gm::GeometryVector te::gm::GeometrySubdivider::subdivideByMaxCoordinates ( const te::gm::Geometry geometry,
std::size_t  maxCoordinates 
)
static

Subdivides the given geometry recursivelly using its envelope spplited in 4 parts until all the subparts have less then the given 'maxCoordinates' coordinates.

Parameters
geometryThe input geometry to be subdivided
maxCoordinatesThe maximum nunber of coordinates of each part
Returns
A vector containg all the subparts of the geometry

◆ subdivideByMaxCoordinatesImpl() [1/2]

static te::gm::GeometryVector te::gm::GeometrySubdivider::subdivideByMaxCoordinatesImpl ( const te::gm::Geometry geometry,
const te::gm::Envelope envelope,
std::size_t  maxCoordinates 
)
staticprotected

Subdivides the given geometry recursivelly using its envelope spplited in 4 parts until all the subparts have less then the given 'maxCoordinates' coordinates.

Parameters
geometryThe input geometry to be subdivided
envelopeThe envelope to be used to clip the geometry.
maxCoordinatesThe maximum nunber of coordinates of each part
Returns
A vector containg all the subparts of the geometry

◆ subdivideByMaxCoordinatesImpl() [2/2]

static te::gm::GeometryVector te::gm::GeometrySubdivider::subdivideByMaxCoordinatesImpl ( const te::gm::Geometry geometry,
std::size_t  maxCoordinates 
)
staticprotected

Subdivides the given geometry recursivelly using its envelope spplited in 4 parts until all the subparts have less then the given 'maxCoordinates' coordinates.

Parameters
geometryThe input geometry to be subdivided
maxCoordinatesThe maximum nunber of coordinates of each part
Returns
A vector containg all the subparts of the geometry

The documentation for this class was generated from the following file: