@@ -0,0 +1,1129 @@
+import vtk.vtkNativeLibrary;%0Aimport vtk.vtkPlane;%0A%0A%0Apublic class ProjectPointPlane%0A%7B%0A  // -----------------------------------------------------------------%0A  // Load VTK library and print which library was not properly loaded%0A  static %0A  %7B%0A    if (!vtkNativeLibrary.LoadAllNativeLibraries()) %0A    %7B%0A      for (vtkNativeLibrary lib : vtkNativeLibrary.values()) %0A      %7B%0A        if (!lib.IsLoaded()) %0A        %7B%0A          System.out.println(lib.GetLibraryName() + %22 not loaded%22);%0A        %7D%0A      %7D%0A    %7D%0A    vtkNativeLibrary.DisableOutputWindow(null);%0A  %7D%0A  // -----------------------------------------------------------------%0A%09%0A  public static void main(String s%5B%5D) %0A  %7B%09%09%09%0A    vtkPlane Plane = new vtkPlane();%0A    Plane.SetOrigin(0, 0, 0);%0A    Plane.SetNormal(0, 0, 1.0);%0A%0A    double p%5B%5D = new double%5B%5D %7B23.1, 54.6, 9.2%7D;%0A    double origin%5B%5D = new double%5B%5D %7B0.0, 0.0, 0.0%7D;%0A    double normal%5B%5D = new double%5B%5D %7B0.0, 0.0, 1.0%7D;%0A    double projected%5B%5D = new double%5B3%5D;%0A%0A    Plane.ProjectPoint(p, origin,normal,projected);%0A    System.out.println(%22Projected:%22 + %22 %22 +projected%5B0%5D + %22 %22 + projected%5B1%5D + %22 %22 + projected%5B2%5D );%0A  %7D%09%09  %0A%7D%0A

Create ProjectPointPlane.java