A Discrete-Event Network Simulator
API
Public Member Functions | Public Attributes | List of all members
ns3::Waypoint Class Reference

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

#include "waypoint.h"

Public Member Functions

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

Public Attributes

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

Detailed Description

a (time, location) pair.

See also
Waypoint Attribute

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 31 of file waypoint.cc.

Member Data Documentation

◆ position

Vector ns3::Waypoint::position

◆ time

Time ns3::Waypoint::time

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