Jpp 21.0.0-rc.3
the software that should make you happy
Loading...
Searching...
No Matches
JACOUSTICS::JSydney::fit_t Struct Reference

Auxiliary data structure for fit options. More...

Public Member Functions

void set (const char c, const bool value)
 Set value of given coordinate.
 

Public Attributes

bool x = true
 x-coordinate
 
bool y = true
 y-coordinate
 
bool z = true
 z-coordinate
 

Detailed Description

Auxiliary data structure for fit options.

Definition at line 164 of file JSydney.cc.

Member Function Documentation

◆ set()

void JACOUSTICS::JSydney::fit_t::set ( const char c,
const bool value )
inline

Set value of given coordinate.

Parameters
ccoordinate
valuevalue

Definition at line 171 of file JSydney.cc.

172 {
173 switch (c) {
174
175 case X_t:
176 this->x = value;
177 break;
178
179 case Y_t:
180 this->y = value;
181 break;
182
183 case Z_t:
184 this->z = value;
185 break;
186 }
187 }
static const char Z_t
set z-coordinate
Definition JSydney.cc:99
static const char Y_t
set y-coordinate
Definition JSydney.cc:98
static const char X_t
set x-coordinate
Definition JSydney.cc:97
bool z
z-coordinate
Definition JSydney.cc:191
bool x
x-coordinate
Definition JSydney.cc:189
bool y
y-coordinate
Definition JSydney.cc:190

Member Data Documentation

◆ x

bool JACOUSTICS::JSydney::fit_t::x = true

x-coordinate

Definition at line 189 of file JSydney.cc.

◆ y

bool JACOUSTICS::JSydney::fit_t::y = true

y-coordinate

Definition at line 190 of file JSydney.cc.

◆ z

bool JACOUSTICS::JSydney::fit_t::z = true

z-coordinate

Definition at line 191 of file JSydney.cc.


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