27 return point(-0.5*(x[1]-
yc), 0.5*(x[0]-
xc));
35 static constexpr Float
47 if (fabs(xm-
x0) <
w/2 && ym <
y2) {
50 return min(d2,min(d3,d0));
65 return min(d1,min(d2,d3));
88 Float arc32 = (2*pi - theta)*
r;
89 return d24 + d45 + d53 + arc32;
93 static constexpr Float
106 y2 (y0 - sqrt(r*r - (w/2)*(w/2))),
see the Float page for the full documentation
see the point page for the full documentation
Float operator()(const point &x) const
static constexpr Float x0
static constexpr Float y0
static constexpr Float xc
static constexpr Float yc
Float operator()(const point &x) const
point operator()(const point &x) const
static constexpr Float xc
static constexpr Float yc