49template <
typename InputIterator>
50std::pair<Eigen::Vector3d, double>
getNewellPlane(InputIterator pnts_begin,
51 InputIterator pnts_end);
63template <
class T_POINT>
65 const std::vector<T_POINT*>& pnts);
69template <
class T_POINT>
71 const std::vector<T_POINT>& pnts);
106template <
typename InputIterator>
107void rotatePoints(Eigen::Matrix3d
const& rot_mat, InputIterator pnts_begin,
108 InputIterator pnts_end);
116void rotatePoints(Eigen::Matrix3d
const& rot_mat, std::vector<P*>
const& pnts);
140template <
typename InputIterator1,
typename InputIterator2>
142 InputIterator1 p_pnts_end,
143 InputIterator2 r_pnts_begin,
144 InputIterator2 r_pnts_end);
159 Point& intersection_pnt);
167bool parallel(Eigen::Vector3d v, Eigen::Vector3d w);
212 std::vector<Polyline*>& plys);
224std::tuple<std::vector<GeoLib::Point*>, Eigen::Vector3d>
234 std::vector<LineSegment>& sub_segments);
This class manages pointers to Points in a std::vector along with a name. It also handles the deletio...
Class Polyline consists mainly of a reference to a point vector and a vector that stores the indices ...
Orientation getOrientationFast(MathLib::Point3d const &p0, MathLib::Point3d const &p1, MathLib::Point3d const &p2)
Eigen::Matrix3d compute3DRotationMatrixToX(Eigen::Vector3d const &v)
bool lineSegmentsIntersect(const GeoLib::Polyline *ply, GeoLib::Polyline::SegmentIterator &seg_it0, GeoLib::Polyline::SegmentIterator &seg_it1, GeoLib::Point &intersection_pnt)
void computeAndInsertAllIntersectionPoints(GeoLib::PointVec &pnt_vec, std::vector< GeoLib::Polyline * > &plys)
void rotatePoints(Eigen::Matrix3d const &rot_mat, InputIterator pnts_begin, InputIterator pnts_end)
bool parallel(Eigen::Vector3d v, Eigen::Vector3d w)
std::tuple< std::vector< GeoLib::Point * >, Eigen::Vector3d > rotatePolygonPointsToXY(GeoLib::Polygon const &polygon_in)
Eigen::Matrix3d computeRotationMatrixToXY(Eigen::Vector3d const &n)
Eigen::Matrix3d rotatePointsToXY(InputIterator1 p_pnts_begin, InputIterator1 p_pnts_end, InputIterator2 r_pnts_begin, InputIterator2 r_pnts_end)
void sortSegments(MathLib::Point3d const &seg_beg_pnt, std::vector< GeoLib::LineSegment > &sub_segments)
std::vector< MathLib::Point3d > lineSegmentIntersect2d(GeoLib::LineSegment const &ab, GeoLib::LineSegment const &cd)
std::unique_ptr< GeoLib::Point > triangleLineIntersection(MathLib::Point3d const &a, MathLib::Point3d const &b, MathLib::Point3d const &c, MathLib::Point3d const &p, MathLib::Point3d const &q)
std::pair< Eigen::Vector3d, double > getNewellPlane(InputIterator pnts_begin, InputIterator pnts_end)
Eigen::Matrix3d compute2DRotationMatrixToX(Eigen::Vector3d const &v)
bool lineSegmentIntersect(GeoLib::LineSegment const &s0, GeoLib::LineSegment const &s1, GeoLib::Point &s)
Orientation getOrientation(MathLib::Point3d const &p0, MathLib::Point3d const &p1, MathLib::Point3d const &p2)