| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

Functions
Algorithms that performs fragmentation of lines
Geometry algorithms

## Functions

TL_DLL void | TeFragmentBoundary (const TeLineSet &lines, TeINTERSECTOR2::TeVectorBoundaryIP &ips, TeLineSet &boundaryFragments, TeLineSet &fragments)
| Fragments the lines according intersection points (May rise an exception: you must use try and catch).
TL_DLL void | TeFragmentBoundary (const TePolygonSet &polygons, TeINTERSECTOR2::TeVectorBoundaryIP &ips, TeLineSet &boundaryFragments, vector< pair< unsigned int, unsigned int > > &boundaryFragmentsIds, TeLineSet &fragments, vector< pair< unsigned int, unsigned int > > &fragmentsIds)

## Detailed Description

THIS IS FOR INTERNAL USE ONLY: TerraLib fragmentation algorithms.

## Function Documentation

TL_DLL void TeFragmentBoundary | ( | const TeLineSet & | lines,
|  | TeINTERSECTOR2::TeVectorBoundaryIP & | ips,
|  | TeLineSet & | boundaryFragments,
|  | TeLineSet & | fragments
| ) |  |

Fragments the lines according intersection points (May rise an exception: you must use try and catch).

Parameters:

  lines | The lines to fragment.
  ips | The intersection points where the boundary will be fragmented.
  boundaryFragments | Output list of segments in the boundary of another line.
  fragments | Output list of line fragmemts.

TL_DLL void TeFragmentBoundary | ( | const TePolygonSet & | polygons,
|  | TeINTERSECTOR2::TeVectorBoundaryIP & | ips,
|  | TeLineSet & | boundaryFragments,
|  | vector< pair< unsigned int, unsigned int > > & | boundaryFragmentsIds,
|  | TeLineSet & | fragments,
|  | vector< pair< unsigned int, unsigned int > > & | fragmentsIds
| ) |  |

Fragments the lines according intersection points (May rise an exception: you must use try and catch).

Parameters:

  polygons | List of polygons (lines to be fragmented).
  ips | Intersection points where the boundary will be fragmented.
  boundaryFragments | Output list of segments in the boundary of another line.
  boundaryFragmentsIds | Output list with the objects identifiers for each fragment (to be used by location, to decide in/out fragments).
  fragments | Output list of line fragmemts.
  fragmentsIds | Output list with the objects identifiers for each fragment (to be used by location, to decide in/out fragments).

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines