MCPcopy Create free account
hub / github.com/Kitware/VTK / AreaLessThanTolerance

Method AreaLessThanTolerance

IO/Export/vtkSVGContextDevice2D.cxx:2297–2302  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

2295
2296//------------------------------------------------------------------------------
2297bool vtkSVGContextDevice2D::AreaLessThanTolerance(
2298 const vtkVector2f& p1, const vtkVector2f& p2, const vtkVector2f& p3)
2299{
2300 return this->LengthLessThanTolerance(p1, p2) && this->LengthLessThanTolerance(p1, p3) &&
2301 this->LengthLessThanTolerance(p2, p3);
2302}
2303
2304//------------------------------------------------------------------------------
2305bool vtkSVGContextDevice2D::LengthLessThanTolerance(const vtkVector2f& p1, const vtkVector2f& p2)

Callers 1

DrawTriangleGradientMethod · 0.95

Calls 1

Tested by

no test coverage detected