| 48 | \*---------------------------------------------------------------------------*/ |
| 49 | |
| 50 | class coordSet |
| 51 | : |
| 52 | public pointField |
| 53 | { |
| 54 | |
| 55 | public: |
| 56 | |
| 57 | // Public data types |
| 58 | |
| 59 | //- Enumeration defining the output format for coordinates |
| 60 | enum coordFormat |
| 61 | { |
| 62 | XYZ, |
| 63 | X, |
| 64 | Y, |
| 65 | Z, |
| 66 | DISTANCE |
| 67 | }; |
| 68 | |
| 69 | |
| 70 | private: |
| 71 | |
| 72 | //- String representation of coordFormat enums |
| 73 | static const NamedEnum<coordFormat, 5> coordFormatNames_; |
| 74 | |
| 75 | |
| 76 | protected: |
| 77 | |
| 78 | //- Name |
| 79 | const word name_; |
| 80 | |
| 81 | //- Axis write type |
| 82 | const coordFormat axis_; |
| 83 | |
| 84 | //- Cumulative distance "distance" write specifier. |
| 85 | scalarList curveDist_; |
| 86 | |
| 87 | |
| 88 | public: |
| 89 | |
| 90 | // Constructors |
| 91 | |
| 92 | //- Construct from components |
| 93 | coordSet |
| 94 | ( |
| 95 | const word& name, |
| 96 | const word& axis |
| 97 | ); |
| 98 | |
| 99 | |
| 100 | //- Construct from components |
| 101 | coordSet |
| 102 | ( |
| 103 | const word& name, |
| 104 | const word& axis, |
| 105 | const List<point>& points, |
| 106 | const scalarList& curveDist |
| 107 | ); |
no outgoing calls
no test coverage detected