INET Framework for OMNeT++/OMNEST
inet::Coord Class Reference

Class for storing 3D coordinates. More...

#include <Coord.h>

Inheritance diagram for inet::Coord:
inet::PolyhedronPoint

Public Member Functions

 Coord ()
 Default constructor. More...
 
 Coord (double x, double y, double z=0.0)
 Initializes a coordinate. More...
 
 Coord (const Coord &other)
 Initializes coordinate from other coordinate. More...
 
std::string info () const override
 Returns a string with the value of the coordinate. More...
 
Coordoperator*= (double f)
 Multiplies this coordinate vector by a real number. More...
 
Coordoperator/= (double f)
 Divides this coordinate vector by a real number. More...
 
Coordoperator+= (const Coord &a)
 Adds coordinate vector 'a' to this. More...
 
float operator* (const Coord &v) const
 Dot product. More...
 
Coord operator% (const Coord &v) const
 Cross product. More...
 
Coordoperator= (const Coord &other)
 Assigns coordinate vector 'other' to this. More...
 
Coordoperator-= (const Coord &a)
 Subtracts coordinate vector 'a' from this. More...
 
double distance (const Coord &a) const
 Returns the distance to Coord 'a'. More...
 
double sqrdist (const Coord &a) const
 Returns distance^2 to Coord 'a' (omits calling square root). More...
 
double sqrTorusDist (const Coord &b, const Coord &size) const
 Returns the squared distance on a torus of this to Coord 'b' (omits calling square root). More...
 
double squareLength () const
 Returns the square of the length of this Coords position vector. More...
 
double length () const
 Returns the length of this Coords position vector. More...
 
void normalize ()
 Updates the length of this position vector to be 1. More...
 
bool isInBoundary (const Coord &lowerBound, const Coord &upperBound) const
 Checks if this coordinate is inside a specified rectangle. More...
 
bool isNil () const
 
bool isUnspecified () const
 Returns true if this coordinate is unspecified. More...
 
Coord min (const Coord &a)
 Returns the minimal coordinates. More...
 
Coord max (const Coord &a)
 Returns the maximal coordinates. More...
 
double angle (const Coord &a)
 Returns the angle between the two vectors. More...
 

Public Attributes

x, y and z coordinate of the position.
double x
 
double y
 
double z
 

Static Public Attributes

static const Coord NIL = Coord(NaN, NaN, NaN)
 Constant with all values set to 0. More...
 
static const Coord ZERO = Coord(0.0, 0.0, 0.0)
 
static const Coord X_AXIS = Coord(1.0, 0.0, 0.0)
 
static const Coord Y_AXIS = Coord(0.0, 1.0, 0.0)
 
static const Coord Z_AXIS = Coord(0.0, 0.0, 1.0)
 

Private Member Functions

void copy (const Coord &other)
 

Friends

Coord operator+ (const Coord &a, const Coord &b)
 Adds two coordinate vectors. More...
 
Coord operator- (const Coord &a, const Coord &b)
 Subtracts two coordinate vectors. More...
 
Coord operator* (const Coord &a, double f)
 Multiplies a coordinate vector by a real number. More...
 
Coord operator/ (const Coord &a, double f)
 Divides a coordinate vector by a real number. More...
 
bool operator== (const Coord &a, const Coord &b)
 Tests whether two coordinate vectors are equal. More...
 
bool operator!= (const Coord &a, const Coord &b)
 Tests whether two coordinate vectors are not equal. More...
 

Detailed Description

Class for storing 3D coordinates.

Some comparison and basic arithmetic operators are implemented.

Author
Christian Frank

Constructor & Destructor Documentation

inet::Coord::Coord ( )
inline

Default constructor.

60  : x(0.0), y(0.0), z(0.0) {}
double z
Definition: Coord.h:51
double y
Definition: Coord.h:50
double x
Definition: Coord.h:49
inet::Coord::Coord ( double  x,
double  y,
double  z = 0.0 
)
inline

Initializes a coordinate.

64  : x(x), y(y), z(z) {}
double z
Definition: Coord.h:51
double y
Definition: Coord.h:50
double x
Definition: Coord.h:49
inet::Coord::Coord ( const Coord other)
inline

Initializes coordinate from other coordinate.

68  : cObject(other) { copy(other); }
void copy(const Coord &other)
Definition: Coord.h:55

Member Function Documentation

double inet::Coord::angle ( const Coord a)
inline

Returns the angle between the two vectors.

286  {
287  return acos(*this * a / length() / a.length());
288  }
double length() const
Returns the length of this Coords position vector.
Definition: Coord.h:229
void inet::Coord::copy ( const Coord other)
inlineprivate
55 { x = other.x; y = other.y; z = other.z; }
double z
Definition: Coord.h:51
double y
Definition: Coord.h:50
double x
Definition: Coord.h:49
std::string inet::Coord::info ( ) const
inlineoverride

Returns a string with the value of the coordinate.

Referenced by inet::PostureTransition::getMatrix().

297 {
298  std::stringstream os;
299  os << *this;
300  return os.str();
301 }
bool inet::Coord::isInBoundary ( const Coord lowerBound,
const Coord upperBound 
) const
inline

Checks if this coordinate is inside a specified rectangle.

Parameters
lowerBoundThe upper bound of the rectangle.
upperBoundThe lower bound of the rectangle.

Referenced by inet::PostureTransition::findAreaType(), and inet::MoBANCoordinator::isInsideWorld().

243  {
244  return lowerBound.x <= x && x <= upperBound.x &&
245  lowerBound.y <= y && y <= upperBound.y &&
246  lowerBound.z <= z && z <= upperBound.z;
247  }
double z
Definition: Coord.h:51
double y
Definition: Coord.h:50
double x
Definition: Coord.h:49
bool inet::Coord::isNil ( ) const
inline

Referenced by inet::Cuboid::computeIntersection().

250  {
251  return this == &NIL;
252  }
static const Coord NIL
Constant with all values set to 0.
Definition: Coord.h:40
bool inet::Coord::isUnspecified ( ) const
inline

Returns true if this coordinate is unspecified.

Referenced by inet::Cuboid::computeIntersection(), inet::Box::isUnspecified(), inet::Plane::isUnspecified(), and inet::LineSegment::isUnspecified().

258  {
259  return std::isnan(x) && std::isnan(y) && std::isnan(z);
260  }
double z
Definition: Coord.h:51
double y
Definition: Coord.h:50
double x
Definition: Coord.h:49
double inet::Coord::length ( ) const
inline

Returns the length of this Coords position vector.

Referenced by angle(), inet::Sphere::computeIntersection(), inet::physicallayer::AnalogModelBase::computeTransmissionDirection(), inet::visualizer::TracingObstacleLossCanvasVisualizer::createObstacleLossVisualization(), distance(), inet::Polygon::getNormalUnitVector(), inet::ConstSpeedMobility::setTargetPosition(), inet::ChiangMobility::setTargetPosition(), and inet::MoBANLocal::setTargetPosition().

229 { return sqrt(squareLength()); }
value< Value, pow< Unit, 1, 2 > > sqrt(const value< Value, Unit > &a)
Definition: Units.h:247
double squareLength() const
Returns the square of the length of this Coords position vector.
Definition: Coord.h:224
Coord inet::Coord::max ( const Coord a)
inline

Returns the maximal coordinates.

Referenced by inet::Box::computeBoundingBox(), inet::Prism::computeBoundingBoxSize(), inet::Polyhedron::computeBoundingBoxSize(), inet::physicallayer::MediumLimitCache::computeMaxConstreaintArea(), inet::Polygon::computeSize(), and inet::visualizer::SceneVisualizerBase::getPlaygroundBounds().

276  {
277  return Coord(this->x > a.x ? this->x : a.x,
278  this->y > a.y ? this->y : a.y,
279  this->z > a.z ? this->z : a.z);
280  }
Coord()
Default constructor.
Definition: Coord.h:59
double x
Definition: Coord.h:49
Coord inet::Coord::min ( const Coord a)
inline

Returns the minimal coordinates.

Referenced by inet::Box::computeBoundingBox(), inet::Prism::computeBoundingBoxSize(), inet::Polyhedron::computeBoundingBoxSize(), inet::physicallayer::MediumLimitCache::computeMinConstraintArea(), and inet::Polygon::computeSize().

266  {
267  return Coord(this->x < a.x ? this->x : a.x,
268  this->y < a.y ? this->y : a.y,
269  this->z < a.z ? this->z : a.z);
270  }
Coord()
Default constructor.
Definition: Coord.h:59
double x
Definition: Coord.h:49
void inet::Coord::normalize ( )
inline

Updates the length of this position vector to be 1.

Referenced by inet::visualizer::VisualizerBase::getContactPosition(), inet::visualizer::LineManager::getLineShift(), and inet::MovingMobilityBase::moveAndUpdate().

234 { *this /= length(); }
double length() const
Returns the length of this Coords position vector.
Definition: Coord.h:229
Coord inet::Coord::operator% ( const Coord v) const
inline

Cross product.

150  {
151  return Coord(y * v.z - z * v.y, z * v.x - x * v.z, x * v.y - y * v.x);
152  }
double z
Definition: Coord.h:51
Coord()
Default constructor.
Definition: Coord.h:59
double y
Definition: Coord.h:50
double x
Definition: Coord.h:49
float inet::Coord::operator* ( const Coord v) const
inline

Dot product.

142  {
143  return x * v.x + y * v.y + z * v.z;
144  }
double z
Definition: Coord.h:51
double y
Definition: Coord.h:50
double x
Definition: Coord.h:49
Coord& inet::Coord::operator*= ( double  f)
inline

Multiplies this coordinate vector by a real number.

109  {
110  x *= f;
111  y *= f;
112  z *= f;
113  return *this;
114  }
double z
Definition: Coord.h:51
double y
Definition: Coord.h:50
double x
Definition: Coord.h:49
Coord& inet::Coord::operator+= ( const Coord a)
inline

Adds coordinate vector 'a' to this.

131  {
132  x += a.x;
133  y += a.y;
134  z += a.z;
135  return *this;
136  }
double z
Definition: Coord.h:51
double y
Definition: Coord.h:50
double x
Definition: Coord.h:49
Coord& inet::Coord::operator-= ( const Coord a)
inline

Subtracts coordinate vector 'a' from this.

172  {
173  x -= a.x;
174  y -= a.y;
175  z -= a.z;
176  return *this;
177  }
double z
Definition: Coord.h:51
double y
Definition: Coord.h:50
double x
Definition: Coord.h:49
Coord& inet::Coord::operator/= ( double  f)
inline

Divides this coordinate vector by a real number.

120  {
121  x /= f;
122  y /= f;
123  z /= f;
124  return *this;
125  }
double z
Definition: Coord.h:51
double y
Definition: Coord.h:50
double x
Definition: Coord.h:49
Coord& inet::Coord::operator= ( const Coord other)
inline

Assigns coordinate vector 'other' to this.

This operator can change the dimension of the coordinate.

160  {
161  if (this == &other)
162  return *this;
163  cObject::operator=(other);
164  copy(other);
165  return *this;
166  }
void copy(const Coord &other)
Definition: Coord.h:55
double inet::Coord::sqrdist ( const Coord a) const
inline

Returns distance^2 to Coord 'a' (omits calling square root).

Referenced by inet::QuadTree::strictRangeQuery(), and inet::physicallayer::NeighborListNeighborCache::updateNeighborList().

211  {
212  Coord dist(*this - a);
213  return dist.squareLength();
214  }
Coord()
Default constructor.
Definition: Coord.h:59
double inet::Coord::sqrTorusDist ( const Coord b,
const Coord size 
) const

Returns the squared distance on a torus of this to Coord 'b' (omits calling square root).

52 {
53  double xDist = dist(x, b.x, size.x);
54  double yDist = dist(y, b.y, size.y);
55  double zDist = dist(z, b.z, size.z);
56  return xDist * xDist + yDist * yDist + zDist * zDist;
57 }
double z
Definition: Coord.h:51
double y
Definition: Coord.h:50
double x
Definition: Coord.h:49
value< double, units::m > b
Definition: Units.h:1054
double inet::Coord::squareLength ( ) const
inline

Returns the square of the length of this Coords position vector.

Referenced by sqrdist().

224 { return x * x + y * y + z * z; }
double z
Definition: Coord.h:51
double y
Definition: Coord.h:50
double x
Definition: Coord.h:49

Friends And Related Function Documentation

bool operator!= ( const Coord a,
const Coord b 
)
friend

Tests whether two coordinate vectors are not equal.

Negation of the operator==.

196 { return !(a == b); }
value< double, units::m > b
Definition: Units.h:1054
Coord operator* ( const Coord a,
double  f 
)
friend

Multiplies a coordinate vector by a real number.

91  {
92  Coord tmp(a);
93  tmp *= f;
94  return tmp;
95  }
Coord()
Default constructor.
Definition: Coord.h:59
Coord operator+ ( const Coord a,
const Coord b 
)
friend

Adds two coordinate vectors.

75  {
76  Coord tmp(a);
77  tmp += b;
78  return tmp;
79  }
Coord()
Default constructor.
Definition: Coord.h:59
value< double, units::m > b
Definition: Units.h:1054
Coord operator- ( const Coord a,
const Coord b 
)
friend

Subtracts two coordinate vectors.

83  {
84  Coord tmp(a);
85  tmp -= b;
86  return tmp;
87  }
Coord()
Default constructor.
Definition: Coord.h:59
value< double, units::m > b
Definition: Units.h:1054
Coord operator/ ( const Coord a,
double  f 
)
friend

Divides a coordinate vector by a real number.

99  {
100  Coord tmp(a);
101  tmp /= f;
102  return tmp;
103  }
Coord()
Default constructor.
Definition: Coord.h:59
bool operator== ( const Coord a,
const Coord b 
)
friend

Tests whether two coordinate vectors are equal.

Because coordinates are of type double, this is done through the math::close function.

186  {
187  // FIXME: this implementation is not transitive
188  return math::close(a.x, b.x) && math::close(a.y, b.y) && math::close(a.z, b.z);
189  }
bool close(double one, double two)
Tests whether two doubles are close enough to be declared equal.
Definition: INETMath.h:135
value< double, units::m > b
Definition: Units.h:1054

Member Data Documentation

double inet::Coord::x

Referenced by inet::MobilityBase::checkPosition(), inet::BVHTree::computeBoundingBox(), inet::SpatialGrid::computeBoundingVoxels(), inet::CanvasProjection::computeCanvasPoint(), inet::SpatialGrid::computeConstraintAreaSideLengths(), inet::SimpleGeographicCoordinateSystem::computeGeographicCoordinate(), inet::Cuboid::computeIntersection(), inet::BonnMotionMobility::computeMaxSpeed(), inet::SpatialGrid::computeNumberOfVoxels(), inet::physicallayer::AnalogModelBase::computeTransmissionDirection(), inet::Cuboid::computeVisibleFaces(), inet::SpatialGrid::coordToMatrixIndices(), copy(), inet::QuadTree::doesIntersectWithQuadrant(), inet::TurtleMobility::executeStatement(), inet::ANSimMobility::extractDataFrom(), inet::GPSR::findPerimeterRoutingNextHop(), inet::LinearNodeDistributionMobility::finish(), inet::Polygon::getEdgeOutwardNormalVector(), inet::Polygon::getNormalVector(), inet::MobilityBase::getRandomPosition(), inet::TurtleMobility::getValue(), inet::GPSR::getVectorAngle(), inet::physicalenvironment::GridObjectCache::initialize(), inet::RectangleMobility::initialize(), inet::physicallayer::GridNeighborCache::initialize(), inet::physicalenvironment::PhysicalEnvironment::initialize(), inet::MobilityBase::initialize(), inet::visualizer::MediumCanvasVisualizer::initialize(), inet::QuadTree::insert(), inet::SpatialGrid::insertObject(), inet::GPSR::intersectSections(), inet::BVHTree::intersectWithLineSegment(), isInBoundary(), inet::QuadTree::isInRectangleRange(), inet::Cuboid::isInsideX(), inet::MobilityBase::isOutside(), inet::visualizer::isPointOnSegment(), inet::SpatialGrid::LineSegmentIterator::LineSegmentIterator(), inet::Rotation::matrixMultiplication(), inet::Rotation::matrixTransposeMultiplication(), max(), min(), inet::VehicleMobility::move(), inet::RectangleMobility::move(), inet::CircleMobility::move(), inet::QuadTree::move(), inet::MovingMobilityBase::moveAndUpdate(), operator%(), inet::BVHTree::AxisComparator::operator()(), operator*(), operator+=(), operator-=(), inet::operator<<(), inet::physicalenvironment::PhysicalEnvironment::parseObjects(), inet::physicalenvironment::PhysicalEnvironment::parseShapes(), inet::PolyhedronPoint::PolyhedronPoint(), inet::GaussMarkovMobility::preventBorderHugging(), inet::MobilityBase::raiseErrorIfOutside(), inet::MoBANCoordinator::readConfigurationFile(), inet::VehicleMobility::readWaypointsFromFile(), inet::NetAnimTrace::receiveSignal(), inet::visualizer::MediumCanvasVisualizer::receptionStarted(), inet::MobilityBase::reflectIfOutside(), inet::visualizer::PathCanvasVisualizerBase::refreshDisplay(), inet::QuadTree::remove(), inet::QuadTree::setBoundary(), inet::StaticGridMobility::setInitialPosition(), inet::StaticConcentricMobility::setInitialPosition(), inet::VehicleMobility::setInitialPosition(), inet::BonnMotionMobility::setInitialPosition(), inet::TractorMobility::setInitialPosition(), inet::LinearNodeDistributionMobility::setInitialPosition(), inet::Ns2MotionMobility::setInitialPosition(), inet::MobilityBase::setInitialPosition(), inet::BonnMotionMobility::setTargetPosition(), inet::TractorMobility::setTargetPosition(), inet::Ns2MotionMobility::setTargetPosition(), inet::MoBANCoordinator::setTargetPosition(), inet::SpatialGrid::SpatialGrid(), sqrTorusDist(), inet::MoBANLocal::updateVisualRepresentation(), inet::QuadTree::whichQuadrant(), and inet::MobilityBase::wrapIfOutside().

const Coord inet::Coord::X_AXIS = Coord(1.0, 0.0, 0.0)
static
double inet::Coord::y

Referenced by inet::MobilityBase::checkPosition(), inet::BVHTree::computeBoundingBox(), inet::SpatialGrid::computeBoundingVoxels(), inet::CanvasProjection::computeCanvasPoint(), inet::SpatialGrid::computeConstraintAreaSideLengths(), inet::SimpleGeographicCoordinateSystem::computeGeographicCoordinate(), inet::Cuboid::computeIntersection(), inet::BonnMotionMobility::computeMaxSpeed(), inet::SpatialGrid::computeNumberOfVoxels(), inet::physicallayer::AnalogModelBase::computeTransmissionDirection(), inet::Cuboid::computeVisibleFaces(), inet::SpatialGrid::coordToMatrixIndices(), copy(), inet::QuadTree::doesIntersectWithQuadrant(), inet::TurtleMobility::executeStatement(), inet::ANSimMobility::extractDataFrom(), inet::LinearNodeDistributionMobility::finish(), inet::Polygon::getEdgeOutwardNormalVector(), inet::Polygon::getNormalVector(), inet::MobilityBase::getRandomPosition(), inet::TurtleMobility::getValue(), inet::GPSR::getVectorAngle(), inet::physicalenvironment::GridObjectCache::initialize(), inet::RectangleMobility::initialize(), inet::physicallayer::GridNeighborCache::initialize(), inet::physicalenvironment::PhysicalEnvironment::initialize(), inet::MobilityBase::initialize(), inet::visualizer::MediumCanvasVisualizer::initialize(), inet::QuadTree::insert(), inet::SpatialGrid::insertObject(), inet::GPSR::intersectSections(), inet::BVHTree::intersectWithLineSegment(), isInBoundary(), inet::QuadTree::isInRectangleRange(), inet::Cuboid::isInsideY(), inet::MobilityBase::isOutside(), inet::visualizer::isPointOnSegment(), inet::SpatialGrid::LineSegmentIterator::LineSegmentIterator(), inet::Rotation::matrixMultiplication(), inet::Rotation::matrixTransposeMultiplication(), max(), min(), inet::VehicleMobility::move(), inet::RectangleMobility::move(), inet::CircleMobility::move(), inet::QuadTree::move(), inet::MovingMobilityBase::moveAndUpdate(), operator%(), inet::BVHTree::AxisComparator::operator()(), operator*(), operator+=(), operator-=(), inet::operator<<(), inet::physicalenvironment::PhysicalEnvironment::parseObjects(), inet::physicalenvironment::PhysicalEnvironment::parseShapes(), inet::PolyhedronPoint::PolyhedronPoint(), inet::GaussMarkovMobility::preventBorderHugging(), inet::MobilityBase::raiseErrorIfOutside(), inet::MoBANCoordinator::readConfigurationFile(), inet::VehicleMobility::readWaypointsFromFile(), inet::NetAnimTrace::receiveSignal(), inet::visualizer::MediumCanvasVisualizer::receptionStarted(), inet::MobilityBase::reflectIfOutside(), inet::visualizer::PathCanvasVisualizerBase::refreshDisplay(), inet::QuadTree::remove(), inet::QuadTree::setBoundary(), inet::StaticGridMobility::setInitialPosition(), inet::StaticConcentricMobility::setInitialPosition(), inet::VehicleMobility::setInitialPosition(), inet::TractorMobility::setInitialPosition(), inet::BonnMotionMobility::setInitialPosition(), inet::LinearNodeDistributionMobility::setInitialPosition(), inet::Ns2MotionMobility::setInitialPosition(), inet::MobilityBase::setInitialPosition(), inet::BonnMotionMobility::setTargetPosition(), inet::TractorMobility::setTargetPosition(), inet::Ns2MotionMobility::setTargetPosition(), inet::MoBANCoordinator::setTargetPosition(), inet::SpatialGrid::SpatialGrid(), sqrTorusDist(), inet::MoBANLocal::updateVisualRepresentation(), inet::QuadTree::whichQuadrant(), and inet::MobilityBase::wrapIfOutside().

const Coord inet::Coord::Y_AXIS = Coord(0.0, 1.0, 0.0)
static
double inet::Coord::z

Referenced by inet::MobilityBase::checkPosition(), inet::BVHTree::computeBoundingBox(), inet::SpatialGrid::computeBoundingVoxels(), inet::SpatialGrid::computeConstraintAreaSideLengths(), inet::SimpleGeographicCoordinateSystem::computeGeographicCoordinate(), inet::Cuboid::computeIntersection(), inet::BonnMotionMobility::computeMaxSpeed(), inet::SpatialGrid::computeNumberOfVoxels(), inet::physicallayer::AnalogModelBase::computeTransmissionDirection(), inet::physicallayer::TwoRayInterference::computeTwoRayInterference(), inet::Cuboid::computeVisibleFaces(), inet::SpatialGrid::coordToMatrixIndices(), copy(), inet::Prism::genereateFaces(), inet::Polygon::getEdgeOutwardNormalVector(), inet::Polygon::getNormalVector(), inet::MobilityBase::getRandomPosition(), inet::physicalenvironment::GridObjectCache::initialize(), inet::physicallayer::GridNeighborCache::initialize(), inet::physicalenvironment::PhysicalEnvironment::initialize(), inet::MobilityBase::initialize(), inet::QuadTree::insert(), inet::SpatialGrid::insertObject(), inet::BVHTree::intersectWithLineSegment(), isInBoundary(), inet::Cuboid::isInsideZ(), inet::MobilityBase::isOutside(), inet::SpatialGrid::LineSegmentIterator::LineSegmentIterator(), inet::Rotation::matrixMultiplication(), inet::Rotation::matrixTransposeMultiplication(), max(), min(), inet::CircleMobility::move(), inet::QuadTree::move(), inet::MovingMobilityBase::moveAndUpdate(), operator%(), inet::BVHTree::AxisComparator::operator()(), operator*(), operator+=(), operator-=(), inet::operator<<(), inet::physicalenvironment::PhysicalEnvironment::parseObjects(), inet::physicalenvironment::PhysicalEnvironment::parseShapes(), inet::PolyhedronPoint::PolyhedronPoint(), inet::MobilityBase::raiseErrorIfOutside(), inet::MoBANCoordinator::readConfigurationFile(), inet::VehicleMobility::readWaypointsFromFile(), inet::MobilityBase::reflectIfOutside(), inet::QuadTree::remove(), inet::MoBANCoordinator::selectDestination(), inet::StaticGridMobility::setInitialPosition(), inet::StaticConcentricMobility::setInitialPosition(), inet::LinearNodeDistributionMobility::setInitialPosition(), inet::MobilityBase::setInitialPosition(), inet::BonnMotionMobility::setTargetPosition(), inet::MoBANCoordinator::setTargetPosition(), inet::SpatialGrid::SpatialGrid(), sqrTorusDist(), inet::QuadTree::whichQuadrant(), and inet::MobilityBase::wrapIfOutside().

const Coord inet::Coord::Z_AXIS = Coord(0.0, 0.0, 1.0)
static

The documentation for this class was generated from the following files: