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
|
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)))
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|||||||
@ -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&
|
||||||
|
|||||||
Reference in New Issue
Block a user