|
MeshKernel
|
A class containing the land boundary polylines. More...
#include <LandBoundary.hpp>
Public Member Functions | |
| LandBoundary (const std::vector< Point > &landBoundary) | |
| Construct with vector of points defining the land boundary. | |
| void | FindNearestPoint (const Point &samplePoint, const Projection &projection, Point &nearestPoint, double &minimumDistance, UInt &segmentStartIndex, double &scaledDistanceToStart) const |
| Find the nearest point on the land boundary (toland) | |
| Point | FindNearestPoint (const Point &samplePoint, const Projection &projection) const |
| Find the nearest point on the land boundary (toland) | |
| size_t | GetNumNodes () const |
| Gets the number of land boundary nodes. | |
| bool | IsEmpty () const |
| @ Determine if the land boundary object is empty | |
| const Point & | Node (const size_t i) const |
| Get the node at position i. | |
| const std::vector< Point > & | GetNodes () const |
| Get vector containing all land boundary nodes. | |
| void | AddSegment (const Point &leftNode, const Point &rightNode) |
| Add a new land boundary polyline segment. | |
| Point | ClosestPoint (const Point &point, const size_t point1Index, const size_t point2Index, const Projection projection) const |
| Find the closest of two points to a given point. | |
| BoundingBox | GetBoundingBox (const size_t startIndex, const size_t endIndex) const |
| Get the bounding box for the section of the land boundary. | |
| BoundingBox | GetBoundingBox () const |
| Get the bounding box for the whole land boundary. | |
| std::vector< std::pair< UInt, UInt > > | FindPolylineIndices () const |
| Find all start-end positions of the individual poly-lines that make up the land boundary. | |
| std::vector< bool > | GetNodeMask (const Polygons &polygons) const |
| Get vector of Boolean values indicating a valid node. | |
A class containing the land boundary polylines.