24 #ifndef FRENET_TRIHEDRON_H 25 #define FRENET_TRIHEDRON_H 27 #include "../ProtoGeom.h" 28 #include "utility/geom/d1/Polyline3d.h" 29 #include "utility/geom/pos_vec/Vector3d.h" 30 #include "Rect3d3dCooSys.h" 31 #include "utility/geom/coo_sys/ref_sys/Ref3d3d.h" 39 typedef std::map<double, Polyline3d::const_iterator> IntervalMap;
41 IntervalMap interval_map;
42 std::vector<Vector3d> tangent_vectors;
43 std::vector<Vector3d> normal_vectors;
44 std::vector<Vector3d> binormal_vectors;
46 IntervalMap compute_interval_map(
void);
47 IntervalMap::const_iterator get_interval_end(
const double &)
const;
48 void compute_tangent_vectors(
void);
49 void compute_vectors(
void);
70 boost::python::dict
getPyDict(
void)
const;
71 void setPyDict(
const boost::python::dict &);
73 virtual void Print(std::ostream &os)
const;
74 friend std::ostream &operator<<(std::ostream &os,
const FrenetTrihedron &sc);
Rect3d3dCooSys getCooSys(const double &) const
Return the coordinate system corresponding to the given arc length.
Definition: FrenetTrihedron.cc:274
boost::python::list getBinormalVectorAtVerticesPy(void) const
Return a Python list containing the normal vectors at each of the vertices.
Definition: FrenetTrihedron.cc:180
FrenetTrihedron(void)
Default constructor.
Definition: FrenetTrihedron.cc:28
Vector3d getNormal(const double &) const
Return the normal vector corresponding to the given arc length.
Definition: FrenetTrihedron.cc:222
boost::python::list getNormalVectorAtVerticesPy(void) const
Return a Python list containing the normal vectors at each of the vertices.
Definition: FrenetTrihedron.cc:165
Three-dimensional coordinate system defined in a three-dimensional space.
Definition: Rect3d3dCooSys.h:33
Polyline in a three-dimensional space.
Definition: Polyline3d.h:37
virtual void Print(std::ostream &os) const
Prints the matrix.
Definition: FrenetTrihedron.cc:315
Base class for geometry objects.
Definition: ProtoGeom.h:33
boost::python::dict getPyDict(void) const
Return a Python dictionary with the object members values.
Definition: FrenetTrihedron.cc:319
const Polyline3d & getPath(void) const
Return the underlying path.
Definition: FrenetTrihedron.cc:41
const std::vector< Vector3d > & getTangentVectorAtVertices(void) const
Return a reference to the tangent vectors.
Definition: FrenetTrihedron.cc:145
Coordinate systems base class.
Definition: FrenetTrihedron.h:36
Vector3d getTangent(const double &) const
Return the tangent vector corresponding to the given arc length.
Definition: FrenetTrihedron.cc:191
Ref3d3d getRefSys(const double &) const
Return the coordinate reference system corresponding to the given arc length.
Definition: FrenetTrihedron.cc:298
boost::python::list getTangentVectorAtVerticesPy(void) const
Return a Python list containing the tangent vectors at each of the vertices.
Definition: FrenetTrihedron.cc:150
const std::vector< Vector3d > & getBinormalVectorAtVertices(void) const
Return a oeference to the binormal vectors.
Definition: FrenetTrihedron.cc:175
const std::vector< Vector3d > & getNormalVectorAtVertices(void) const
Return a reference to the normal vectors.
Definition: FrenetTrihedron.cc:160
Rect3d3dCooSys getHorizontalCooSys(const double &, const Vector3d &) const
Return a reference system corresponding to the given arc length and whose XY plane is parpendigular t...
Definition: FrenetTrihedron.cc:287
Ref3d3d getHorizontalRefSys(const double &, const Vector3d &) const
Return a reference system corresponding to the given arc length and whose XY plane is parpendigular t...
Definition: FrenetTrihedron.cc:308
void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: FrenetTrihedron.cc:327
Vector en tres dimensiones.
Definition: Vector3d.h:39
Three-dimensional reference system defined in a three-dimensional space.
Definition: Ref3d3d.h:39
Vector3d getBinormal(const double &) const
Return the binormal vector corresponding to the given arc length.
Definition: FrenetTrihedron.cc:248