GEOS  3.9.1dev
Public Member Functions | Private Member Functions | Private Attributes | List of all members
geos::algorithm::InteriorPointLine Class Reference

Computes a point in the interior of an linear geometry. More...

#include <InteriorPointLine.h>

Collaboration diagram for geos::algorithm::InteriorPointLine:
[legend]

Public Member Functions

 InteriorPointLine (const geom::Geometry *g)
 
bool getInteriorPoint (geom::Coordinate &ret) const
 

Private Member Functions

void addInterior (const geom::Geometry *geom)
 
void addInterior (const geom::CoordinateSequence *pts)
 
void addEndpoints (const geom::Geometry *geom)
 
void addEndpoints (const geom::CoordinateSequence *pts)
 
void add (const geom::Coordinate &point)
 

Private Attributes

bool hasInterior
 
geom::Coordinate centroid
 
double minDistance
 
geom::Coordinate interiorPoint
 

Detailed Description

Computes a point in the interior of an linear geometry.

Algorithm

Definition at line 48 of file InteriorPointLine.h.

Constructor & Destructor Documentation

geos::algorithm::InteriorPointLine::InteriorPointLine ( const geom::Geometry g)

Member Function Documentation

void geos::algorithm::InteriorPointLine::add ( const geom::Coordinate point)
private
void geos::algorithm::InteriorPointLine::addEndpoints ( const geom::Geometry geom)
private
void geos::algorithm::InteriorPointLine::addEndpoints ( const geom::CoordinateSequence pts)
private
void geos::algorithm::InteriorPointLine::addInterior ( const geom::Geometry geom)
private
void geos::algorithm::InteriorPointLine::addInterior ( const geom::CoordinateSequence pts)
private
bool geos::algorithm::InteriorPointLine::getInteriorPoint ( geom::Coordinate ret) const

Member Data Documentation

geom::Coordinate geos::algorithm::InteriorPointLine::centroid
private

Definition at line 60 of file InteriorPointLine.h.

bool geos::algorithm::InteriorPointLine::hasInterior
private

Definition at line 58 of file InteriorPointLine.h.

geom::Coordinate geos::algorithm::InteriorPointLine::interiorPoint
private

Definition at line 64 of file InteriorPointLine.h.

double geos::algorithm::InteriorPointLine::minDistance
private

Definition at line 62 of file InteriorPointLine.h.


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