enum Segments
  • Chord_length
  • Uniform
template <class T, int N>
class vtb::geometry::Curve_segments
Types
  • using vertex_array = std::vector< Vertex< T, N > >
  • using size_type = size_t
  • using container_type = std::vector< value_type >
  • using const_pointer = const value_type *
  • using pointer = value_type *
  • using const_reference = const value_type &
  • using reference = value_type &
  • using value_type = T
Methods
  • end() const -> const_pointer
  • end() -> pointer
  • begin() const -> const_pointer
  • begin() -> pointer
  • operator[](size_type i) const -> const_reference
  • operator[](size_type i) -> reference
  • size() const -> size_type
  • length() const -> T
  • range(T min, T max) -> void
  • locate(size_type i) const -> T
  • locate(T & t, size_type & i) const -> void
  • normalise() -> void
  • projection(const vertex_array & values, int dim, T eps = T{}) -> void
  • projection(const vertex_array & values, int dim, T z_min, T z_max, T eps = T{}) -> void
  • uniform(size_type npoints) -> void
  • chord_length(const vertex_array & values) -> void
  • Curve_segments(const vertex_array & points, Segments seg = Segments::Chord_length)explicit