18 namespace JGEOMETRY2D {}
 
   19 namespace JPP { 
using namespace JGEOMETRY2D; }
 
   21 namespace JGEOMETRY2D {
 
   91               getCCW(segment.first, 
this->first,   segment.second) != 
getCCW(segment.first, 
this->second,   segment.second));
 
  104       JVector2D db(segment.second - segment.first);
 
  156         return first.getDistanceSquared(point);
 
  195       in >> segment.second;
 
  210       out << segment.first;
 
  211       out << segment.second;
 
Data structure for vector in two dimensions. 
double getLengthSquared() const 
Get length squared. 
std::pair< JPosition2D, JPosition2D > JSegment2D_t
Type definition of line segment in two dimensions. 
Line segment in two dimensions. 
double getLengthSquared() const 
Get length squared. 
Interface for binary output. 
double getDot(const JVector2D &point) const 
Get dot product. 
JVector2D & mul(const double factor)
Scale vector. 
double getDistanceSquared(const JVector2D &point) const 
Get squared of distance to point. 
JSegment2D(const JVector2D &A, const JVector2D &B)
Constructor. 
then usage $script< detector file >< detectorfile > nIf the range of floors is the first detector file is aligned to the second before the comparison nIn this
bool getCCW(const T &a, const T &b, const T &c)
Check sequence of three points in X-Y plane. 
JSegment2D()
Default constructor. 
double getPerpDot(const JFirst_t &first, const JSecond_t &second)
Get perpendicular dot product of objects. 
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
friend JWriter & operator<<(JWriter &out, const JSegment2D &segment)
Write segment to output. 
JVector2D & sub(const JVector2D &vector)
Subtract vector. 
double getLength() const 
Get length. 
Interface for binary input. 
JVector2D & div(const double factor)
Scale vector. 
double getDistance(const JVector2D &point) const 
Get distance to point. 
Exception for division by zero. 
then fatal The output file must have the wildcard in the e g root fi eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
friend JReader & operator>>(JReader &in, JSegment2D &segment)
Read segment from input. 
double getDot(const JSegment2D &segment) const 
Get dot product. 
bool intersects(const JSegment2D &segment) const 
Test whether two line segments intersect. 
source $JPP_DIR setenv csh $JPP_DIR &dev null eval JShellParser o a A
JVector2D getIntersection(const JSegment2D &segment) const 
Get intersection of two line segments. 
do echo Generating $dir eval D