Template Class GeomPoint¶
Defined in File geom_point.h
Inheritance Relationships¶
Derived Types¶
public bitrl::utils::geom::FaceElement< spacedim, 0 >(Template Class FaceElement< spacedim, 0 >)public bitrl::utils::trajectory::WayPoint< dim, Data >(Template Class WayPoint)
Class Documentation¶
-
template<int spacedim, typename T = real_t>
class GeomPoint¶ A class that describes a point with spacedim spatial dimension space.
Subclassed by bitrl::utils::geom::FaceElement< spacedim, 0 >, bitrl::utils::trajectory::WayPoint< dim, Data >
Public Functions
-
template<typename Container>
inline explicit GeomPoint(const Container &data)¶ Create by passing a vector of data.
-
inline virtual ~GeomPoint()¶
dtor
-
inline GeomPoint &operator+=(const GeomPoint&)¶
Add another vector, i.e. move this point by the given offset.
-
inline GeomPoint &operator=(const std::initializer_list<T> &list)¶
operator = Assign from the initializer list
-
void scale(const std::vector<T> &factors)¶
scale this object by the given factors p factors should have size at least
spacedim
-
inline void zero()¶
Zero the entries of the tensor.
-
inline void add_scaled(const GeomPoint &p, T factor)¶
Add the coordinates of the given point to this scaled by factor.
-
inline auto coordinates() const¶
Get a copy of the data of this object.
-
inline std::ostream &print_point_info(std::ostream &out) const¶
print the point
-
const std::string to_string() const¶
Returns string representation of the point.
-
template<typename Container>