mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: blockEdge - updated bezier
This commit is contained in:
@ -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&
|
||||
|
||||
Reference in New Issue
Block a user