Jpp 21.0.0
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 162 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 169 of file JSydney.cc.

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

Member Data Documentation

◆ x

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

x-coordinate

Definition at line 187 of file JSydney.cc.

◆ y

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

y-coordinate

Definition at line 188 of file JSydney.cc.

◆ z

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

z-coordinate

Definition at line 189 of file JSydney.cc.


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