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.

References position, and time.

◆ 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.

References position, and time.

Member Data Documentation

◆ position

Vector ns3::Waypoint::position

The position of the waypoint.

Definition at line 46 of file waypoint.h.

Referenced by Waypoint(), Waypoint(), ns3::operator<<(), and ns3::operator>>().

◆ time

Time ns3::Waypoint::time

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