API Documentation
|
A polyline which stores vertex information for many points along a given path. More...
#include <PolyLine.hpp>
Public Member Functions | |
void | add (const t_vertex &vertex) |
void | add (uint04 index, const t_vertex &vertex) |
void | addAndSimplify (const t_vertex &vertex) |
void | addAndSimplify (uint04 index, const t_vertex &vertex) |
template<uint01 t_new_dims, class t_new_type , class t_new_vertex_type = Vertex<t_new_dims, t_new_type>> | |
Polyline< t_dims, t_new_type, t_new_vertex_type > | as () const |
decltype(auto) | begin () |
decltype(auto) | begin () const |
decltype(auto) | begin (uint04 index) |
decltype(auto) | begin (uint04 index) const |
Bounds< t_dims, t_type, t_vertex > | bounds () const |
Buffer< Polyline< t_dims, t_type >, uint04, ObjectAllocator< false > > | breakIntoPolylinesByLength (t_type max_distance) const |
Polyline< t_dims, t_type > | breakIntoSegmentsByDistance (t_type d) const |
Polyline< t_dims, t_type > | breakIntoSegmentsByLength (t_type length) const |
void | clear () |
Polyline< t_dims, t_type > | clipPolyline (const Bounds< t_vertex::NumberOfDimensions(), t_type > &bounds) const |
decltype(auto) | end () |
decltype(auto) | end () const |
const t_vertex & | lastVertex () const |
template<class t_precision > | |
t_precision | length () const |
Polyline & | operator= (const Polyline &polygon) |
Polyline & | operator= (Polyline &&polygon) noexcept |
bool | operator== (const Polyline &polygon) const |
template<class t_inter_type > | |
constexpr t_vertex | pointAt (t_inter_type value) const |
constexpr t_vertex | pointAtLength (fltp08 value) const |
Polyline (Buffer< t_vertex > &vertices) | |
Polyline (const Polyline &polygon) noexcept | |
Polyline (Polyline &&polygon) noexcept | |
Polyline (uint04 size=0) | |
void | remove (uint04 index) |
void | removeLastVertex () |
void | replace (uint04 index, const t_vertex &vertex) |
LineSegment< t_dims, t_type, t_vertex > | segment (uint04 index) const |
uint04 | segmentCount () const |
void | setVertices (const Buffer< t_vertex > &vertices) |
void | simplify () |
const t_vertex & | vertex (uint04 index) const |
uint04 | vertexCount () const |
const Buffer< t_vertex > & | vertices () const |
A polyline which stores vertex information for many points along a given path.
Class: Polyline
Author: Tyler Parke
Date: 2017-11-19
|
inlineexplicit |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
Adds vertex.
Author: Tyler Parke
Date: 2017-11-19
Parameters: vertex - The vertex to add.
|
inline |
Adds index.
Author: Tyler Parke
Date: 2017-11-19
Parameters: index - Zero-based index of the. vertex - The vertex.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Clears this object to its blank/initial state.
Author: Tyler Parke
Date: 2017-11-19
|
inline |
|
inline |
|
inline |
|
inline |
The last vertex in the polyline
Author: Tyler Parke
Date: 2019-01-12
|
inline |
Gets the length.
Author: Tyler Parke
Date: 2017-11-19
|
inline |
|
inlinenoexcept |
|
inline |
Equality operator.
Author: Tyler Parke
Date: 2017-11-19
Parameters: polygon - The polygon.
|
inlineconstexpr |
Point at.
Author: Tyler Parke
Date: 2017-11-19
Parameters: value - The value.
|
inlineconstexpr |
Removes the given index.
Author: Tyler Parke
Date: 2017-11-19
Parameters: index - The index to removeRows.
|
inline |
Removes the last vertex from the polyline.
Author: Tyler Parke
Date: 2019-01-12
|
inline |
Replaces.
Author: Tyler Parke
Date: 2017-11-19
Parameters: index - Zero-based index of the. vector - The vector.
|
inline |
Segments the given index.
Author: Tyler Parke
Date: 2017-11-19
Parameters: index - Zero-based index of the.
Segment count.
Author: Tyler Parke
Date: 2018-10-29
|
inline |
Sets the vertices.
Author: Tyler Parke
Date: 2017-11-19
Parameters: vertices - The vertices.
|
inline |
Removes all duplicate adjacent vertices.
Author: Tyler Parke
Date: 2019-01-12
|
inline |
Vertices the given index.
Author: Tyler Parke
Date: 2017-11-19
Parameters: index - Zero-based index of the.
|
inline |
Gets the vertices.
Author: Tyler Parke
Date: 2017-11-19