|
template<typename T > |
std::string | TexGen::stringify (const T &x, int iPrecision=12, bool bScientific=true) |
| Function to convert a value (e.g. int, double, etc...) to a string. More...
|
|
template<typename T > |
T | TexGen::valueify (const std::string &x) |
| Function to convert a string to a value (e.g. int, double, etc...) More...
|
|
template<typename T > |
T | TexGen::valueify (const char *x) |
| Function to convert a string to a value (e.g. int, double, etc...) More...
|
|
COLOR | TexGen::GetIndexedColor (int iIndex) |
|
void | TexGen::CopyToRange (vector< XYZ > &Offsets, XYZ Vector, int iLowerLimit, int iUpperLimit) |
|
double | TexGen::ConvertUnits (double dValue, std::string SourceUnits, std::string TargetUnits) |
|
bool | TexGen::CompatibleUnits (std::string SourceUnits, std::string TargetUnits, std::string *pErrorMessage) |
|
std::string | TexGen::ReduceUnits (std::string Units) |
|
void | TexGen::AddNewUnits (std::string NewUnit, std::string BaseUnits) |
|
std::string | TexGen::StripPath (std::string Filename) |
| Strip the path from the filename (e.g. "c:\folder\file.ext -> file.ext") More...
|
|
void | TexGen::AddExtensionIfMissing (std::string &Filename, std::string Extension) |
| Adds an extension to the filename if it is missing otherwise do nothing (e.g. picture -> picture.png) More...
|
|
std::string | TexGen::ReplaceFilenameSpaces (std::string Filename) |
| Replaces spaces in filename with underscore. More...
|
|
std::string | TexGen::RemoveExtension (std::string &Filename, std::string Extension) |
| Strip the extension from the filename. More...
|
|
void | TexGen::WriteOrientationsHeader (std::ostream &Output) |
| Write orientations header for ABAQUS .ori files. More...
|
|
void | TexGen::WriteElementsHeader (std::ostream &Output) |
| Write elements header for ABAQUS .eld files. More...
|
|
template<typename T > |
T | TexGen::GetInterpedValue (const std::vector< std::pair< double, T > > &InterpValues, double fraction) |
| Get an interpolated value. More...
|
|
template<typename T > |
std::pair< double, std::pair< T, T > > | TexGen::GetClosestValues (const std::vector< std::pair< double, T > > &InterpValues, double fraction) |
| Get the two closest values to fraction in the vector InterpValues. More...
|
|
void | TexGen::GetMinMaxXY (const std::vector< XY > &Points, XY &Min, XY &Max) |
|
template<typename T > |
void | TexGen::WriteValues (std::ostream &Output, T &Values, int iMaxPerLine) |
|
This file contains miscellaneous global functions that do not belong anywhere else
Definition in file Misc.h.