![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Go to the source code of this file.
Functions | |
| float | FindSlope (const std::pair< float, float > &p1, const std::pair< float, float > &p2) |
| bool | Clockwise (double Ax, double Ay, double Bx, double By, double Cx, double Cy) |
| bool | SegmentOverlap (double Ax, double Ay, double Bx, double By, double Cx, double Cy, double Dx, double Dy) |
| std::pair< float, float > | GetIntersection (double Ax, double Ay, double Bx, double By, double Cx, double Cy, double Dx, double Dy) |
| bool Clockwise | ( | double | Ax, |
| double | Ay, | ||
| double | Bx, | ||
| double | By, | ||
| double | Cx, | ||
| double | Cy | ||
| ) |
Definition at line 14 of file Polygon2D.cxx.
Referenced by SegmentOverlap().
| float FindSlope | ( | const std::pair< float, float > & | p1, |
| const std::pair< float, float > & | p2 | ||
| ) |
Definition at line 7 of file Polygon2D.cxx.
Referenced by Polygon2D::PolyOverlap().
| std::pair<float, float> GetIntersection | ( | double | Ax, |
| double | Ay, | ||
| double | Bx, | ||
| double | By, | ||
| double | Cx, | ||
| double | Cy, | ||
| double | Dx, | ||
| double | Dy | ||
| ) |
Definition at line 36 of file Polygon2D.cxx.
Referenced by lar_content::LArPointingClusterHelper::GetAverageDirection(), Polygon2D::Polygon2D(), and lar_content::SimplePCAThreeDClusteringTool::Run().
| bool SegmentOverlap | ( | double | Ax, |
| double | Ay, | ||
| double | Bx, | ||
| double | By, | ||
| double | Cx, | ||
| double | Cy, | ||
| double | Dx, | ||
| double | Dy | ||
| ) |
Definition at line 20 of file Polygon2D.cxx.
References Clockwise().
Referenced by Polygon2D::PointInside(), Polygon2D::Polygon2D(), Polygon2D::PolyOverlapSegments(), and Polygon2D::UntanglePolygon().