| 50 | \*---------------------------------------------------------------------------*/ |
| 51 | |
| 52 | class splineEdge |
| 53 | : |
| 54 | public blockEdge, |
| 55 | public CatmullRomSpline |
| 56 | { |
| 57 | // Private Member Functions |
| 58 | |
| 59 | //- Disallow default bitwise copy construct |
| 60 | splineEdge(const splineEdge&); |
| 61 | |
| 62 | //- Disallow default bitwise assignment |
| 63 | void operator=(const splineEdge&); |
| 64 | |
| 65 | |
| 66 | public: |
| 67 | |
| 68 | //- Runtime type information |
| 69 | TypeName("spline"); |
| 70 | |
| 71 | |
| 72 | // Constructors |
| 73 | |
| 74 | //- Construct from components |
| 75 | splineEdge |
| 76 | ( |
| 77 | const pointField&, |
| 78 | const label start, |
| 79 | const label end, |
| 80 | const pointField& internalPoints |
| 81 | ); |
| 82 | |
| 83 | //- Construct from Istream, setting pointsList |
| 84 | splineEdge |
| 85 | ( |
| 86 | const dictionary& dict, |
| 87 | const label index, |
| 88 | const searchableSurfaces& geometry, |
| 89 | const pointField&, |
| 90 | Istream& |
| 91 | ); |
| 92 | |
| 93 | |
| 94 | //- Destructor |
| 95 | virtual ~splineEdge(); |
| 96 | |
| 97 | |
| 98 | // Member Functions |
| 99 | |
| 100 | //- Return the point position corresponding to the curve parameter |
| 101 | // 0 <= lambda <= 1 |
| 102 | virtual point position(const scalar) const; |
| 103 | |
| 104 | //- Return the length of the spline curve (not implemented) |
| 105 | virtual scalar length() const; |
| 106 | }; |
| 107 | |
| 108 | |
| 109 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // |