Skyward boardcore
Loading...
Searching...
No Matches
Boardcore::TrajectoryPoint Class Reference

#include <TrajectoryPoint.h>

Inheritance diagram for Boardcore::TrajectoryPoint:

Public Member Functions

 TrajectoryPoint ()
 
 TrajectoryPoint (float z, float vz)
 

Static Public Member Functions

static float distanceSquared (TrajectoryPoint a, TrajectoryPoint b)
 Returns the distance squared between the two points.
 
static float zDistance (TrajectoryPoint a, TrajectoryPoint b)
 Returns the distance in height between the two given points.
 
static float vzDistance (TrajectoryPoint a, TrajectoryPoint b)
 Returns the distance in vertical speed between the two points.
 

Public Attributes

float z
 Vertical position [m].
 
float vz
 Vertical velocity [m/s].
 

Detailed Description

Definition at line 34 of file TrajectoryPoint.h.

Constructor & Destructor Documentation

◆ TrajectoryPoint() [1/2]

Boardcore::TrajectoryPoint::TrajectoryPoint ( )
inline

Definition at line 40 of file TrajectoryPoint.h.

◆ TrajectoryPoint() [2/2]

Boardcore::TrajectoryPoint::TrajectoryPoint ( float z,
float vz )
inline

Definition at line 42 of file TrajectoryPoint.h.

Member Function Documentation

◆ distanceSquared()

static float Boardcore::TrajectoryPoint::distanceSquared ( TrajectoryPoint a,
TrajectoryPoint b )
inlinestatic

Returns the distance squared between the two points.

Definition at line 47 of file TrajectoryPoint.h.

◆ vzDistance()

static float Boardcore::TrajectoryPoint::vzDistance ( TrajectoryPoint a,
TrajectoryPoint b )
inlinestatic

Returns the distance in vertical speed between the two points.

Definition at line 63 of file TrajectoryPoint.h.

◆ zDistance()

static float Boardcore::TrajectoryPoint::zDistance ( TrajectoryPoint a,
TrajectoryPoint b )
inlinestatic

Returns the distance in height between the two given points.

Definition at line 55 of file TrajectoryPoint.h.

Member Data Documentation

◆ vz

float Boardcore::TrajectoryPoint::vz

Vertical velocity [m/s].

Definition at line 38 of file TrajectoryPoint.h.

◆ z

float Boardcore::TrajectoryPoint::z

Vertical position [m].

Definition at line 37 of file TrajectoryPoint.h.


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