Searched refs:mass (Results 1 – 1 of 1) sorted by relevance
67 double &mass, double ¢X, double ¢Y) in FindTriangleCentroid() argument78 mass = fabs((y1 - y0) * (x2 - x0)); // Special case 1a in FindTriangleCentroid()82 mass = fabs((y1 - y0) * (x1 - x0)); // Special case 1b in FindTriangleCentroid()89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a in FindTriangleCentroid()93 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 2a in FindTriangleCentroid()98 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 3 in FindTriangleCentroid()120 mass = len1 * sqrt(dx * dx + dy * dy); in FindTriangleCentroid()124 mass = fabs( (y1 - y0) * (x2 - x0) ); in FindTriangleCentroid()