20 template <
typename Real>
22 Vector2<Real>
const&
v2, Circle2<Real>& circle);
25 template <
typename Real>
26 bool Inscribe(Vector2<Real>
const&
v0, Vector2<Real>
const&
v1,
27 Vector2<Real>
const&
v2, Circle2<Real>& circle);
30 template <
typename Real>
41 circle.
center = v0 + solution;
48 template <
typename Real>
58 Real perimeter = len10 + len20 + len21;
59 if (perimeter > (Real)0)
61 Real inv = ((Real)1) / perimeter;
65 circle.
center = len21*v0 + len20*v1 + len10*
v2;
67 return circle.
radius > (Real)0;
bool Inscribe(Vector2< Real > const &v0, Vector2< Real > const &v1, Vector2< Real > const &v2, Circle2< Real > &circle)
gte::BSNumber< UIntegerType > abs(gte::BSNumber< UIntegerType > const &number)
Real DotPerp(Vector2< Real > const &v0, Vector2< Real > const &v1)
DualQuaternion< Real > Dot(DualQuaternion< Real > const &d0, DualQuaternion< Real > const &d1)
DualQuaternion< Real > Length(DualQuaternion< Real > const &d, bool robust=false)
GLfloat GLfloat GLfloat v2
bool Circumscribe(Vector2< Real > const &v0, Vector2< Real > const &v1, Vector2< Real > const &v2, Circle2< Real > &circle)