All public logs
From KitwarePublic
Jump to navigationJump to search
Combined display of all available logs of KitwarePublic. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/SimpleOperations/DistancePointToLine/DistancePointToLine.cxx (content was: "#include <vtkSmartPointer.h> #include <vtkLine.h> #include <vtkPoints.h> int main(int, char *[]) { double lineP0[3] = {0.0, 0.0, 0.0}; double lineP1[3] = {2.0, 0.0, 0.0}; double p0[3] = {1.0, 0, 0}; double p1[3] = {1.0, 2.0, 0}; vtkSmartPointer<vtkLine> line = vtkSmartPointer<vtkLine>::New(); line->GetPoints()->SetPoint(0, lineP0); line->GetPoints()->SetPoint(0, lineP1);: { double dist0 = vtkLine::DistanceToLine(p0, lineP0, lineP1); s...")