mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
SplineSeg3 ctor with custom weight
This commit is contained in:
parent
0fefe5d32c
commit
a0f70b4d73
@ -98,6 +98,16 @@ namespace netgen
|
||||
proj_latest_t = 0.5;
|
||||
}
|
||||
|
||||
template<int D>
|
||||
SplineSeg3<D> :: SplineSeg3 (const GeomPoint<D> & ap1,
|
||||
const GeomPoint<D> & ap2,
|
||||
const GeomPoint<D> & ap3,
|
||||
double aweight)
|
||||
: p1(ap1), p2(ap2), p3(ap3), weight(aweight)
|
||||
{
|
||||
proj_latest_t = 0.5;
|
||||
}
|
||||
|
||||
template<int D>
|
||||
Point<D> SplineSeg3<D> :: GetPoint (double t) const
|
||||
{
|
||||
|
@ -185,6 +185,10 @@ namespace netgen
|
||||
SplineSeg3 (const GeomPoint<D> & ap1,
|
||||
const GeomPoint<D> & ap2,
|
||||
const GeomPoint<D> & ap3);
|
||||
SplineSeg3 (const GeomPoint<D> & ap1,
|
||||
const GeomPoint<D> & ap2,
|
||||
const GeomPoint<D> & ap3,
|
||||
double aweight);
|
||||
// default constructor for archive
|
||||
SplineSeg3() {}
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user