JSim 2026.06.01-p(1)
Loading...
Searching...
No Matches
frcsim::Vector3::DragVector Struct Reference

Directional drag force vector and validity metadata. More...

#include <vector.hpp>

Public Member Functions

bool isZero (double eps=1e-12) const noexcept
 Returns true when all components are within eps of zero.

Public Attributes

double x {0.0}
 X component.
double y {0.0}
 Y component.
double z {0.0}
 Z component.

Detailed Description

Directional drag force vector and validity metadata.

Member Function Documentation

◆ isZero()

bool frcsim::Vector3::DragVector::isZero ( double eps = 1e-12) const
inlinenoexcept

Returns true when all components are within eps of zero.

Member Data Documentation

◆ x

double frcsim::Vector3::DragVector::x {0.0}

X component.

◆ y

double frcsim::Vector3::DragVector::y {0.0}

Y component.

◆ z

double frcsim::Vector3::DragVector::z {0.0}

Z component.


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