Skip to content
Snippets Groups Projects
Commit 164c545b authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: blockEdge - updated bezier

parent 4c79a85b
Branches
Tags
No related merge requests found
......@@ -43,25 +43,27 @@ namespace blockEdges
Foam::blockEdges::bezier::bezier
(
const pointField& ps,
const pointField& points,
const label start,
const label end,
const pointField& control
)
:
blockEdge(ps, start, end),
blockEdge(points, start, end),
control_(control)
{}
Foam::blockEdges::bezier::bezier
(
const dictionary& dict,
const label index,
const searchableSurfaces& geometry,
const pointField& points,
Istream& is
)
:
blockEdge(points, is),
blockEdge(dict, index, points, is),
control_(appendEndPoints(points, start_, end_, pointField(is)))
{}
......
......@@ -87,7 +87,7 @@ public:
//- Construct from components
bezier
(
const pointField&,
const pointField& points,
const label start,
const label end,
const pointField& control
......@@ -96,6 +96,8 @@ public:
//- Construct from Istream
bezier
(
const dictionary& dict,
const label index,
const searchableSurfaces& geometry,
const pointField&,
Istream&
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment