Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
PolygonEdge.h File Reference
#include "MantidGeometry/DllConfig.h"
#include "MantidKernel/V2D.h"

Go to the source code of this file.

Classes

class  Mantid::Geometry::PolygonEdge
 PolygonEdge Defines a directed edge between two points on a polygon. More...
 

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::Geometry
 

Enumerations

enum  Mantid::Geometry::PointClassification {
  Mantid::Geometry::OnLeft , Mantid::Geometry::OnRight , Mantid::Geometry::Beyond , Mantid::Geometry::Behind ,
  Mantid::Geometry::Between , Mantid::Geometry::Origin , Mantid::Geometry::Destination
}
 Enumeration for point type w.r.t an edge. More...
 

Functions

MANTID_GEOMETRY_DLL PointClassification Mantid::Geometry::classify (const Kernel::V2D &pt, const PolygonEdge &edge)
 Helper function for classification. More...
 
MANTID_GEOMETRY_DLL PolygonEdge::Orientation Mantid::Geometry::crossingPoint (const PolygonEdge &edgeOne, const PolygonEdge &edgeTwo, Kernel::V2D &crossPoint)
 Calculate the crossing point of one edge with wrt another. More...
 
MANTID_GEOMETRY_DLL bool Mantid::Geometry::edgeAimsAt (const PolygonEdge &a, const PolygonEdge &b, PointClassification aclass, PolygonEdge::Orientation crossType)
 Return if the edges aim at each other. More...
 
MANTID_GEOMETRY_DLL PolygonEdge::Orientation Mantid::Geometry::orientation (const PolygonEdge &focusEdge, const PolygonEdge &refEdge, double &t)
 Calculate the orientation type of one edge wrt to another. More...