13 #ifndef ML_POINT_LIST_H
14 #define ML_POINT_LIST_H
68 std::vector<Vector3> points;
Class representing general ML objects that support import/export via strings (setPersistentState() an...
Base object class PointList managing a list of 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)
Same like ML_CLASS_HEADER_EXPORTED with a non-existing export symbol.
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...