A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::lorawan::CorrelatedShadowingPropagationLossModel::Position Class Reference

Stores x,y values and overrides critical operators. More...

#include "correlated-shadowing-propagation-loss-model.h"

+ Collaboration diagram for ns3::lorawan::CorrelatedShadowingPropagationLossModel::Position:

Public Member Functions

 Position ()
 Default constructor.
 
 Position (double x, double y)
 Construct a new Position object with values.
 
bool operator< (const Position &other) const
 Less-then comparison operator.
 
bool operator== (const Position &other) const
 Equality comparison operator.
 

Public Attributes

double x
 Stores the x coordinate.
 
double y
 Stores the y coordinate.
 

Detailed Description

Stores x,y values and overrides critical operators.

Definition at line 44 of file correlated-shadowing-propagation-loss-model.h.

Constructor & Destructor Documentation

◆ Position() [1/2]

ns3::lorawan::CorrelatedShadowingPropagationLossModel::Position::Position ( )

Default constructor.

Definition at line 264 of file correlated-shadowing-propagation-loss-model.cc.

◆ Position() [2/2]

ns3::lorawan::CorrelatedShadowingPropagationLossModel::Position::Position ( double  x,
double  y 
)

Construct a new Position object with values.

Parameters
xThe x coordinate.
yThe y coordinate.

Definition at line 268 of file correlated-shadowing-propagation-loss-model.cc.

Member Function Documentation

◆ operator<()

bool ns3::lorawan::CorrelatedShadowingPropagationLossModel::Position::operator< ( const Position other) const

Less-then comparison operator.

Parameters
otherSecond Position to compare this instance to.
Returns
True if either the x or y coordinate of first Position is less than the respective one of the second Position

Definition at line 290 of file correlated-shadowing-propagation-loss-model.cc.

References x, and y.

◆ operator==()

bool ns3::lorawan::CorrelatedShadowingPropagationLossModel::Position::operator== ( const Position other) const

Equality comparison operator.

Parameters
otherSecond Position to compare this instance to.
Returns
True if the positions are equal.

Definition at line 279 of file correlated-shadowing-propagation-loss-model.cc.

References x, and y.

Member Data Documentation

◆ x

◆ y


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