ENH: blockEdge - updated bezier

This commit is contained in:
Andrew Heather
2016-12-12 12:15:01 +00:00
parent 4c79a85baa
commit 164c545b47
2 changed files with 8 additions and 4 deletions

View File

@ -43,25 +43,27 @@ namespace blockEdges
Foam::blockEdges::bezier::bezier Foam::blockEdges::bezier::bezier
( (
const pointField& ps, const pointField& points,
const label start, const label start,
const label end, const label end,
const pointField& control const pointField& control
) )
: :
blockEdge(ps, start, end), blockEdge(points, start, end),
control_(control) control_(control)
{} {}
Foam::blockEdges::bezier::bezier Foam::blockEdges::bezier::bezier
( (
const dictionary& dict,
const label index,
const searchableSurfaces& geometry, const searchableSurfaces& geometry,
const pointField& points, const pointField& points,
Istream& is Istream& is
) )
: :
blockEdge(points, is), blockEdge(dict, index, points, is),
control_(appendEndPoints(points, start_, end_, pointField(is))) control_(appendEndPoints(points, start_, end_, pointField(is)))
{} {}

View File

@ -87,7 +87,7 @@ public:
//- Construct from components //- Construct from components
bezier bezier
( (
const pointField&, const pointField& points,
const label start, const label start,
const label end, const label end,
const pointField& control const pointField& control
@ -96,6 +96,8 @@ public:
//- Construct from Istream //- Construct from Istream
bezier bezier
( (
const dictionary& dict,
const label index,
const searchableSurfaces& geometry, const searchableSurfaces& geometry,
const pointField&, const pointField&,
Istream& Istream&