Rise
The Vieneo Province
Loading...
Searching...
No Matches
SparkoProp::Vec Struct Reference

#include <RigidProp.h>

Public Member Functions

Vec operator+ (Vec b) const
Vec operator- (Vec b) const
Vec operator- () const
Vec operator* (double s) const
Vec operator/ (double s) const
Vec & operator+= (Vec b)
Vec & operator-= (Vec b)

Public Attributes

double x =0
double y =0
double z =0

Detailed Description

Definition at line 12 of file RigidProp.h.

Member Function Documentation

◆ operator*()

Vec RigidProp::Vec::operator* ( double s) const
inline

Definition at line 17 of file RigidProp.h.

◆ operator+()

Vec RigidProp::Vec::operator+ ( Vec b) const
inline

Definition at line 14 of file RigidProp.h.

◆ operator+=()

Vec & RigidProp::Vec::operator+= ( Vec b)
inline

Definition at line 19 of file RigidProp.h.

◆ operator-() [1/2]

Vec RigidProp::Vec::operator- ( ) const
inline

Definition at line 16 of file RigidProp.h.

◆ operator-() [2/2]

Vec RigidProp::Vec::operator- ( Vec b) const
inline

Definition at line 15 of file RigidProp.h.

◆ operator-=()

Vec & RigidProp::Vec::operator-= ( Vec b)
inline

Definition at line 20 of file RigidProp.h.

◆ operator/()

Vec RigidProp::Vec::operator/ ( double s) const
inline

Definition at line 18 of file RigidProp.h.

Member Data Documentation

◆ x

double RigidProp::Vec::x =0

Definition at line 13 of file RigidProp.h.

◆ y

double RigidProp::Vec::y =0

Definition at line 13 of file RigidProp.h.

◆ z

double RigidProp::Vec::z =0

Definition at line 13 of file RigidProp.h.


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