A Discrete-Event Network Simulator
API
ns3::Waypoint Class Reference

a (time, location) pair. More...

#include "waypoint.h"

+ Collaboration diagram for ns3::Waypoint:

Public Member Functions

 Waypoint ()
 Create a waypoint at time 0 and position (0,0,0). More...
 
 Waypoint (const Time &waypointTime, const Vector &waypointPosition)
 

Public Attributes

Vector position
 The position of the waypoint. More...
 
Time time
 The waypoint time. More...
 

Detailed Description

a (time, location) pair.

See also
attribute_Waypoint

Definition at line 35 of file waypoint.h.

Constructor & Destructor Documentation

◆ Waypoint() [1/2]

ns3::Waypoint::Waypoint ( const Time waypointTime,
const Vector &  waypointPosition 
)
Parameters
waypointTimetime of waypoint.
waypointPositionposition of waypoint corresponding to the given time.

Create a waypoint.

Definition at line 26 of file waypoint.cc.

◆ Waypoint() [2/2]

ns3::Waypoint::Waypoint ( )

Create a waypoint at time 0 and position (0,0,0).

Definition at line 32 of file waypoint.cc.

Member Data Documentation

◆ position

Vector ns3::Waypoint::position

◆ time


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