44 #ifndef BSFM_GEOMETRY_POINT_3D_H
45 #define BSFM_GEOMETRY_POINT_3D_H
54 using Eigen::Vector3d;
58 typedef std::shared_ptr<Point3D>
Ptr;
59 typedef std::shared_ptr<const Point3D>
ConstPtr;
63 Point3D(
double x,
double y,
double z);
74 void Set(
double x,
double y,
double z);
76 void Set(
const Vector3d& in);
85 const Vector3d&
Get()
const;
88 void Print(
const std::string& prefix = std::string())
const;
std::vector< Point3D > Point3DList
double & operator()(int index)
Point3D Normalized() const
void Print(const std::string &prefix=std::string()) const
std::shared_ptr< Point3D > Ptr
std::shared_ptr< const Point3D > ConstPtr
void Set(double x, double y, double z)
double Dot(const Point3D &other) const