|
Open PaperOpt
|
#include <utilities.h>
Public Member Functions | |
| int | operator< (const FiberSample &f) const |
| int | operator== (const FiberSample &f) const |
| double | operator[] (int idx) const |
| double * | PtrToFirst () |
Public Attributes | |
| double | d [3] |
used in class DistributionFromFiberSamples if we want to generate the properties of fibers from the existing fiber examples ,we should use this class the properties of fiber include length , radius and the curl they are stored in an array d[3],d[0]=length,d[1]=radius,d[2]=curl
| int FiberSample::operator< | ( | const FiberSample & | f | ) | const [inline] |
overload operator "<" which is determined by the first element of array
| int FiberSample::operator== | ( | const FiberSample & | f | ) | const [inline] |
overload the operator"=="
| double FiberSample::operator[] | ( | int | idx | ) | const [inline] |
overload the operator "==" ,the instance of the class FiberSample can use "[]" to access the array
| double* FiberSample::PtrToFirst | ( | ) | [inline] |
| double FiberSample::d[3] |