15 namespace JGEOMETRY3D {}
16 namespace JPP {
using namespace JGEOMETRY3D; }
18 namespace JGEOMETRY3D {
112 return this->
first.getDistanceSquared(point);
151 in >> segment.second;
166 out << segment.first;
167 out << segment.second;
Interface for binary output.
JVector3D & mul(const double factor)
Scale vector.
double getLength() const
Get length.
double getLengthSquared() const
Get length squared.
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
JSegment3D()
Default constructor.
friend JWriter & operator<<(JWriter &out, const JSegment3D &segment)
Write segment to output.
double getDot(const JSegment3D &segment) const
Get dot product.
double getDistanceSquared(const JVector3D &point, const double precision=1.0e-8) const
Get squared of distance to point.
std::pair< JPosition3D, JPosition3D > JSegment3D_t
Type definition of line segment in two dimensions.
JVector3D & sub(const JVector3D &vector)
Subtract vector.
Data structure for vector in three dimensions.
friend JReader & operator>>(JReader &in, JSegment3D &segment)
Read segment from input.
Interface for binary input.
Line segment in two dimensions.
double getLengthSquared() const
Get length squared.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] 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
double getDistance(const JVector3D &point) const
Get distance to point.
double getDot(const JVector3D &vector) const
Get dot product.
source $JPP_DIR setenv csh $JPP_DIR &dev null eval JShellParser o a A
do echo Generating $dir eval D
JSegment3D(const JVector3D &A, const JVector3D &B)
Constructor.