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

Method AddLineEquation

Filters/Statistics/vtkBivariateLinearTableThreshold.cxx:250–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250void vtkBivariateLinearTableThreshold::AddLineEquation(double* p1, double* p2)
251{
252 double a = p1[1] - p2[1];
253 double b = p2[0] - p1[0];
254 double c = p1[0] * p2[1] - p2[0] * p1[1];
255
256 this->AddLineEquation(a, b, c);
257}
258
259void vtkBivariateLinearTableThreshold::AddLineEquation(double* p, double slope)
260{

Callers 3

LassoSelectInternalMethod · 0.80
AngleSelectMethod · 0.80
FunctionSelectMethod · 0.80

Calls 2

InsertNextTuple3Method · 0.80
sqrtFunction · 0.50

Tested by

no test coverage detected