public class BarycentricQuadrilateral extends BarycentricTriangle
Constructor and Description |
---|
BarycentricQuadrilateral(LatLon p00,
LatLon p10,
LatLon p11,
LatLon p01) |
BarycentricQuadrilateral(Point p00,
Point p10,
Point p11,
Point p01) |
BarycentricQuadrilateral(Vec4 p00,
Vec4 p10,
Vec4 p11,
Vec4 p01) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Vec4 p) |
double[] |
getBilinearCoords(double alpha,
double beta) |
double[] |
getBilinearCoords(Vec4 point) |
Vec4 |
getP11() |
double[] |
invertBilinear(Vec4 U) |
static double[] |
invertBilinear(Vec4 U,
Vec4 X,
Vec4 Y,
Vec4 Z,
Vec4 W) |
static void |
main(String[] args) |
getBarycentricCoords, getBarycentricCoords, getLocation, getP00, getP01, getP10, getPoint
protected Vec4 p11
public BarycentricQuadrilateral(LatLon p00, LatLon p10, LatLon p11, LatLon p01)
public BarycentricQuadrilateral(Point p00, Point p10, Point p11, Point p01)
public boolean contains(Vec4 p)
contains
in class BarycentricTriangle
public double[] getBilinearCoords(double alpha, double beta)
getBilinearCoords
in interface BarycentricPlanarShape
getBilinearCoords
in class BarycentricTriangle
public double[] getBilinearCoords(Vec4 point)
public Vec4 getP11()
public double[] invertBilinear(Vec4 U)
public static void main(String[] args)