Fx2D
A C++20 2D rigid-body physics engine
Loading...
Searching...
No Matches
FxVec3d Class Reference

Double-precision three-component vector. More...

#include <Math.h>

+ Inheritance diagram for FxVec3d:
+ Collaboration diagram for FxVec3d:

Public Member Functions

 FxVec3d (double a)
 
double & x ()
 
double & y ()
 
double & z ()
 
double & theta ()
 
double x () const
 
double y () const
 
double z () const
 
double theta () const
 
void set_x (double val)
 
void set_y (double val)
 
void set_z (double val)
 
void set_theta (double val)
 
FxVec2dMap xy ()
 
FxVec2d get_xy () const
 
FxVec2d xy () const
 
void set_xy (const FxVec2d &v2)
 

Detailed Description

Double-precision three-component vector.

Definition at line 195 of file Math.h.

Constructor & Destructor Documentation

◆ FxVec3d()

FxVec3d::FxVec3d ( double  a)
inlineexplicit

Definition at line 200 of file Math.h.

Member Function Documentation

◆ get_xy()

FxVec2d FxVec3d::get_xy ( ) const
inline

Definition at line 223 of file Math.h.

◆ set_theta()

void FxVec3d::set_theta ( double  val)
inline

Definition at line 220 of file Math.h.

◆ set_x()

void FxVec3d::set_x ( double  val)
inline

Definition at line 216 of file Math.h.

◆ set_xy()

void FxVec3d::set_xy ( const FxVec2d &  v2)
inline

Definition at line 225 of file Math.h.

◆ set_y()

void FxVec3d::set_y ( double  val)
inline

Definition at line 217 of file Math.h.

◆ set_z()

void FxVec3d::set_z ( double  val)
inline

Definition at line 218 of file Math.h.

◆ theta() [1/2]

double & FxVec3d::theta ( )
inline

Definition at line 207 of file Math.h.

◆ theta() [2/2]

double FxVec3d::theta ( ) const
inline

Definition at line 213 of file Math.h.

◆ x() [1/2]

double & FxVec3d::x ( )
inline

Definition at line 203 of file Math.h.

◆ x() [2/2]

double FxVec3d::x ( ) const
inline

Definition at line 210 of file Math.h.

◆ xy() [1/2]

FxVec2dMap FxVec3d::xy ( )
inline

Definition at line 222 of file Math.h.

◆ xy() [2/2]

FxVec2d FxVec3d::xy ( ) const
inline

Definition at line 224 of file Math.h.

◆ y() [1/2]

double & FxVec3d::y ( )
inline

Definition at line 204 of file Math.h.

◆ y() [2/2]

double FxVec3d::y ( ) const
inline

Definition at line 211 of file Math.h.

◆ z() [1/2]

double & FxVec3d::z ( )
inline

Definition at line 205 of file Math.h.

◆ z() [2/2]

double FxVec3d::z ( ) const
inline

Definition at line 212 of file Math.h.


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