float solventDistance(Point3f ptV, Point3f ptA, Point3f ptB, float rAS, float rBS, float dAB, float dAV, float dBV) {
		double angleVAB = Math.acos((dAV * dAV + dAB * dAB - dBV * dBV) / (2 * dAV * dAB));
		double angleBAS = Math.acos((dAB * dAB + rAS * rAS - rBS * rBS) / (2 * dAB * rAS));
		float dVS = (float) Math.sqrt(rAS * rAS + dAV * dAV - 2 * rAS * dAV * Math.cos(angleBAS - angleVAB));
		return dVS;
	}