Geant4
10.03
|
#include <cmath>
#include <float.h>
#include "ptwXY.h"
Go to the source code of this file.
Functions | |
static nfu_status | ptwXY_clip2 (ptwXYPoints *ptwXY1, double y, double x1, double y1, double x2, double y2) |
static double | ptwXY_thicken_linear_dx (int sectionSubdivideMax, double dxMax, double x1, double x2) |
static nfu_status | ptwXY_thin2 (ptwXYPoints *thinned, char *thin, double accuracy, int64_t i1, int64_t i2) |
nfu_status | ptwXY_clip (ptwXYPoints *ptwXY1, double yMin, double yMax) |
nfu_status | ptwXY_thicken (ptwXYPoints *ptwXY1, int sectionSubdivideMax, double dxMax, double fxMax) |
ptwXYPoints * | ptwXY_thin (ptwXYPoints *ptwXY1, double accuracy, nfu_status *status) |
nfu_status | ptwXY_trim (ptwXYPoints *ptwXY) |
ptwXYPoints * | ptwXY_union (ptwXYPoints *ptwXY1, ptwXYPoints *ptwXY2, nfu_status *status, int unionOptions) |
nfu_status | ptwXY_scaleOffsetXAndY (ptwXYPoints *ptwXY, double xScale, double xOffset, double yScale, double yOffset) |
nfu_status ptwXY_clip | ( | ptwXYPoints * | ptwXY1, |
double | yMin, | ||
double | yMax | ||
) |
Definition at line 25 of file ptwXY_methods.cc.
References n, ptwXY_clear(), ptwXY_clip2(), ptwXY_free(), ptwXY_getPointAtIndex_Unsafely(), ptwXY_getYMax(), ptwXY_getYMin(), ptwXY_new(), ptwXY_setValueAtX(), and ptwXY_simpleCoalescePoints().
|
static |
Definition at line 126 of file ptwXY_methods.cc.
References ptwXY_setValueAtX().
Referenced by ptwXY_clip().
nfu_status ptwXY_scaleOffsetXAndY | ( | ptwXYPoints * | ptwXY, |
double | xScale, | ||
double | xOffset, | ||
double | yScale, | ||
double | yOffset | ||
) |
Definition at line 481 of file ptwXY_methods.cc.
References ptwXY_simpleCoalescePoints().
Referenced by MCGIDI_misc_Data2ptwXYPointsInUnitsOf().
nfu_status ptwXY_thicken | ( | ptwXYPoints * | ptwXY1, |
int | sectionSubdivideMax, | ||
double | dxMax, | ||
double | fxMax | ||
) |
Definition at line 144 of file ptwXY_methods.cc.
References G4Exp(), G4Log(), ptwXY_interpolatePoint(), ptwXY_setValueAtX(), ptwXY_simpleCoalescePoints(), and ptwXY_thicken_linear_dx().
|
static |
Definition at line 295 of file ptwXY_methods.cc.
Referenced by ptwXY_thicken().
ptwXYPoints* ptwXY_thin | ( | ptwXYPoints * | ptwXY1, |
double | accuracy, | ||
nfu_status * | status | ||
) |
Definition at line 211 of file ptwXY_methods.cc.
References nfu_calloc(), nfu_free(), ptwXY_clone(), ptwXY_free(), ptwXY_new(), ptwXY_simpleCoalescePoints(), and ptwXY_thin2().
|
static |
Definition at line 264 of file ptwXY_methods.cc.
References ptwXY_interpolatePoint(), and s.
Referenced by ptwXY_thin().
nfu_status ptwXY_trim | ( | ptwXYPoints * | ptwXY | ) |
Definition at line 315 of file ptwXY_methods.cc.
References ptwXY_simpleCoalescePoints().
ptwXYPoints* ptwXY_union | ( | ptwXYPoints * | ptwXY1, |
ptwXYPoints * | ptwXY2, | ||
nfu_status * | status, | ||
int | unionOptions | ||
) |
Definition at line 349 of file ptwXY_methods.cc.
References DBL_EPSILON, n, ptwXY_free(), ptwXY_interpolatePoint(), ptwXY_mergeClosePoints(), ptwXY_new(), and ptwXY_simpleCoalescePoints().
Referenced by ptwXY_binary_ptwXY(), ptwXY_div_ptwXY(), ptwXY_div_ptwXY_forFlats(), ptwXY_groupThreeFunctions(), and ptwXY_groupTwoFunctions().