60template <
typename InputIterator>
61std::pair<Eigen::Vector3d, double>
getNewellPlane(InputIterator pnts_begin,
62 InputIterator pnts_end);
74template <
class T_POINT>
76 const std::vector<T_POINT*>& pnts);
80template <
class T_POINT>
82 const std::vector<T_POINT>& pnts);
117template <
typename InputIterator>
118void rotatePoints(Eigen::Matrix3d
const& rot_mat, InputIterator pnts_begin,
119 InputIterator pnts_end);
127void rotatePoints(Eigen::Matrix3d
const& rot_mat, std::vector<P*>
const& pnts);
151template <
typename InputIterator1,
typename InputIterator2>
153 InputIterator1 p_pnts_end,
154 InputIterator2 r_pnts_begin,
155 InputIterator2 r_pnts_end);
168 Polyline::SegmentIterator& seg_it0,
169 Polyline::SegmentIterator& seg_it1,
170 Point& intersection_pnt);
178bool parallel(Eigen::Vector3d v, Eigen::Vector3d w);
201 LineSegment
const& cd);
223 std::vector<Polyline*>& plys);
235std::tuple<std::vector<GeoLib::Point*>, Eigen::Vector3d>
245 std::vector<LineSegment>& sub_segments);
Definition of the Polygon class.
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)