13#ifndef ML_POINT_LIST_H
14#define ML_POINT_LIST_H
68 std::vector<Vector3> points;
void removeValue(MLssize_t index=-1)
remove point from list, if index is -1, last element is removed
void clear()
clear all entries
PointList()
Constructor creating an empty list.
void addValue(const Vector3 &vec)
add point at end of list
void setValue(MLssize_t index, const Vector3 &vec)
set value at index
void getValue(MLssize_t index, Vector3 &vec) const
get point at given index
void getValue(MLssize_t index, float &x, float &y, float &z) const
get point at given index
~PointList() override
Destructor.
void print(const char *txt)
debug print
MLssize_t getNum() const
returns the number of contained points
#define MLBASEEXPORT
defined Header file mlBaseInit.h
#define ML_CLASS_HEADER(className)
SSIZE_T MLssize_t
The signed ML size type that is a signed 32-bit size_t on 32-bit platforms and 64-bit one on 64-bit p...
Tvec3< MLdouble > Vector3
A vector with three components of type double.