LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "Polygon2D.h"
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 12 of file Polygon2D.cxx.
Referenced by SegmentOverlap().
float FindSlope | ( | const std::pair< float, float > & | p1, |
const std::pair< float, float > & | p2 | ||
) |
Definition at line 4 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 28 of file Polygon2D.cxx.
Referenced by lar_content::LArPointingClusterHelper::GetAverageDirection(), and Polygon2D::Polygon2D().
bool SegmentOverlap | ( | double | Ax, |
double | Ay, | ||
double | Bx, | ||
double | By, | ||
double | Cx, | ||
double | Cy, | ||
double | Dx, | ||
double | Dy | ||
) |
Definition at line 18 of file Polygon2D.cxx.
References Clockwise().
Referenced by Polygon2D::PointInside(), Polygon2D::Polygon2D(), Polygon2D::PolyOverlapSegments(), and Polygon2D::UntanglePolygon().