|
Open PaperOpt
|
#include <FiberStatic.h>
Public Member Functions | |
| Fiber (double length, double radius, double formFC, double seglen) | |
| Fiber (ifstream &rInput) | |
| ~Fiber () | |
| double | Length () const |
| double | Radius () const |
| double | FormFC () const |
| int | NumSeg () const |
| double | Weight () |
| double | Angle () const |
| double * | Angles () const |
| double | Seglen () const |
| void | Angle (double angle) |
| void | Angles (double *angles) |
| void | GenerateSegments (Staticsheet *vol) |
| void | Translate (V2< double > len) |
| void | DropAngularInformation () |
| const FiberSegment * | GetSegments () const |
| FiberSegment * | GetSegments () |
| void | GetSegmentCoordinates (int segNo, V2< double > &rV1, V2< double > &rV2) const |
| int | GetDataSize () const |
| void | SaveFiberBinary (ofstream &rFile) |
| void | ReadFiberFromFile (string input) |
this fiber class mainly used for the p3d layer
| Fiber::Fiber | ( | double | length, |
| double | radius, | ||
| double | formFC, | ||
| double | seglen | ||
| ) |
| Fiber::Fiber | ( | ifstream & | rInput | ) |
| p3d::Fiber::~Fiber | ( | void | ) | [inline] |
| double p3d::Fiber::Angle | ( | ) | const [inline] |
| void p3d::Fiber::Angle | ( | double | angle | ) | [inline] |
| double* p3d::Fiber::Angles | ( | ) | const [inline] |
| void p3d::Fiber::Angles | ( | double * | angles | ) | [inline] |
| void p3d::Fiber::DropAngularInformation | ( | ) | [inline] |
clear the local angle information

| double p3d::Fiber::FormFC | ( | ) | const [inline] |
| void Fiber::GenerateSegments | ( | Staticsheet * | vol | ) |
generate fiber segments according to the simulation volume
| vol |

| int Fiber::GetDataSize | ( | ) | const |
| segNo | the number of the fiber segment |
| rV1 | coordinates of the segment as output |
| rV2 | coordinates of the segment as output |


| const FiberSegment* p3d::Fiber::GetSegments | ( | ) | const [inline] |

| FiberSegment* p3d::Fiber::GetSegments | ( | ) | [inline] |
| double p3d::Fiber::Length | ( | ) | const [inline] |
| int p3d::Fiber::NumSeg | ( | ) | const [inline] |

| double p3d::Fiber::Radius | ( | ) | const [inline] |

| void p3d::Fiber::ReadFiberFromFile | ( | string | input | ) |
read the fibers from the file
| input | the path of the file |
| void Fiber::SaveFiberBinary | ( | ofstream & | rFile | ) |
save the fiber into binary file output stream
| double p3d::Fiber::Seglen | ( | ) | const [inline] |

| void Fiber::Translate | ( | V2< double > | len | ) |

| double Fiber::Weight | ( | ) |