Here you can find the source of Multiply(double px0, double py0, double px1, double py1, double px2, double py2)
public static double Multiply(double px0, double py0, double px1, double py1, double px2, double py2)
//package com.java2s; public class Main { public static double Multiply(double px0, double py0, double px1, double py1, double px2, double py2) { return ((px1 - px0) * (py2 - py0) - (px2 - px0) * (py1 - py0)); }/*from ww w . j a va 2 s . co m*/ }