@@ -0,0 +1,465 @@
+package org.psjava.geometry.calc;%0D%0A%0D%0Aimport org.psjava.geometry.data.Point2D;%0D%0Aimport org.psjava.math.MiddleValue;%0D%0Aimport org.psjava.math.ns.MultipliableNumberSystem;%0D%0A%0D%0Apublic class MiddlePoint %7B%0D%0A%0D%0A%09public static %3CT%3E Point2D%3CT%3E calc(MultipliableNumberSystem%3CT%3E ns, Point2D%3CT%3E p1, Point2D%3CT%3E p2, T rateOf2) %7B%0D%0A%09%09T x = MiddleValue.calc(ns, p1.x(), p2.x(), rateOf2);%0D%0A%09%09T y = MiddleValue.calc(ns, p1.y(), p2.y(), rateOf2);%0D%0A%09%09return Point2D.create(x, y);%0D%0A%09%7D%0D%0A%0D%0A%7D%0D%0A

add middle point calc