public abstract class Geom
extends java.lang.Object
Constructor and Description |
---|
Geom() |
Modifier and Type | Method and Description |
---|---|
static Position |
centerOfGravity(double[] xpts,
double[] ypts) |
static double |
distanceBetween(Position a,
Position b) |
static double[][] |
innerPolygon(double[] x,
double[] y) |
static double[][] |
makeLineBoundary(double[] xpts,
double[] ypts) |
static boolean |
pointIsInside(double[] xb,
double[] yb,
double x,
double y) |
static boolean |
pointIsInside(double[] xb,
double[] yb,
int x,
int y) |
public static final boolean pointIsInside(double[] xb, double[] yb, int x, int y)
public static final boolean pointIsInside(double[] xb, double[] yb, double x, double y)
public static double[][] makeLineBoundary(double[] xpts, double[] ypts)
public static Position centerOfGravity(double[] xpts, double[] ypts)
public static double[][] innerPolygon(double[] x, double[] y)
Copyright © 2013. All Rights Reserved.