A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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).
 
 Waypoint (const Time &waypointTime, const Vector &waypointPosition)
 

Public Attributes

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

Detailed Description

a (time, location) pair.

See also
attribute_Waypoint

Definition at line 24 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 15 of file waypoint.cc.

◆ Waypoint() [2/2]

ns3::Waypoint::Waypoint ( )

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

Definition at line 21 of file waypoint.cc.

Member Data Documentation

◆ position

Vector ns3::Waypoint::position

◆ time


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