20 #ifndef WORLD_BUILDER_TYPES_POINT_H 21 #define WORLD_BUILDER_TYPES_POINT_H 41 template <
unsigned int dim>
42 class Point final:
public Interface
75 const
std::
string &name,
76 const
std::
string &documentation) const override final;
81 double operator*(const
Point<dim> &point) const;
103 const
double &operator[](const
unsigned int index) const;
109 double &operator[](const
unsigned int index);
120 return new Point(*
this);
127 template<
unsigned int dim>
double operator*(const Point< dim > &point) const
WorldBuilder::Point< dim > default_value
Point * clone_impl() const override final
WorldBuilder::Point< dim > value
void write_schema(Parameters &prm, const std::string &name, const std::string &documentation) const override final