KiCad PCB EDA Suite
|
#include <sg_base.h>
Public Member Functions | |
SGVECTOR () | |
SGVECTOR (double aXVal, double aYVal, double aZVal) | |
void | GetVector (double &aXVal, double &aYVal, double &aZVal) const noexcept |
void | SetVector (double aXVal, double aYVal, double aZVal) |
void | SetVector (const SGVECTOR &aVector) |
SGVECTOR & | operator= (const SGVECTOR &source) noexcept |
Private Member Functions | |
void | normalize (void) noexcept |
Private Attributes | |
double | vx |
double | vy |
double | vz |
SGVECTOR::SGVECTOR | ( | ) |
Definition at line 208 of file sg_base.cpp.
SGVECTOR::SGVECTOR | ( | double | aXVal, |
double | aYVal, | ||
double | aZVal | ||
) |
Definition at line 216 of file sg_base.cpp.
References normalize(), vx, vy, and vz.
|
noexcept |
Definition at line 225 of file sg_base.cpp.
Referenced by S3D::FormatOrientation(), S3D::FormatVector(), SCENEGRAPH::Prepare(), SGSHAPE::Prepare(), SetVector(), and S3D::WriteVector().
|
privatenoexcept |
Definition at line 248 of file sg_base.cpp.
Referenced by SetVector(), and SGVECTOR().
Definition at line 270 of file sg_base.cpp.
References vx.
void SGVECTOR::SetVector | ( | const SGVECTOR & | aVector | ) |
Definition at line 242 of file sg_base.cpp.
References GetVector(), vx, vy, and vz.
void SGVECTOR::SetVector | ( | double | aXVal, |
double | aYVal, | ||
double | aZVal | ||
) |
Definition at line 233 of file sg_base.cpp.
References normalize(), vx, vy, and vz.
Referenced by EXPORTER_PCB_VRML::create_vrml_shell(), S3D::ReadVector(), and vrmlToSG().
|
private |
Definition at line 92 of file sg_base.h.
Referenced by operator=(), SetVector(), and SGVECTOR().
|
private |
Definition at line 93 of file sg_base.h.
Referenced by SetVector(), and SGVECTOR().
|
private |
Definition at line 94 of file sg_base.h.
Referenced by SetVector(), and SGVECTOR().