@Test public void point1() { ParametricPlane plane = new ParametricPlane(new Point3D(0, 0, 0), new Point3D(1, 0, 0), new Vector(0, 0, 1)); Point3D p = plane.getPoint(2.0, 3.0); assertEquals(2.0, p.getX(), DELTA); assertEquals(3.0, p.getY(), DELTA); assertEquals(0.0, p.getZ(), DELTA); }
public Point3D getPoint(double x, double y) { Point3D p = new Point3D(); p.setX(this.base.getX() + (this.directionX.getX() * x) + (this.directionY.getX() * y)); p.setY(this.base.getY() + (this.directionX.getY() * x) + (this.directionY.getY() * y)); p.setZ(this.base.getZ() + (this.directionX.getZ() * x) + (this.directionY.getZ() * y)); return p; }
ParametricPlane { public Point3D getPoint(double x, double y) { Point3D p = new Point3D(); p.setX(this.base.getX() + (this.directionX.getX() * x) + (this.directionY.getX() * y)); p.setY(this.base.getY() + (this.directionX.getY() * x) + (this.directionY.getY() * y)); p.setZ(this.base.getZ() + (this.directionX.getZ() * x) + (this.directionY.getZ() * y)); return p; } }
ParametricPlane { public Point3D getPoint(double x, double y) { Point3D p = new Point3D(); p.setX(this.base.getX() + (this.directionX.getX() * x) + (this.directionY.getX() * y)); p.setY(this.base.getY() + (this.directionX.getY() * x) + (this.directionY.getY() * y)); p.setZ(this.base.getZ() + (this.directionX.getZ() * x) + (this.directionY.getZ() * y)); return p; } ParametricPlane(Point3D basePoint, Vector directionX,
        Vector directionY, Vector normal);  ParametricPlane(Point3D basePoint, Vector directionX, Vector directionY);  ParametricPlane(Point3D basePoint, Point3D b, Vector normal);  ParametricPlane(Point3D basePoint, Point3D b, Point3D c);  ParametricPlane(Extrusion e); }
ParametricPlane { public Point3D getPoint(double x, double y) { Point3D p = new Point3D(); p.setX(this.base.getX() + (this.directionX.getX() * x) + (this.directionY.getX() * y)); p.setY(this.base.getY() + (this.directionX.getY() * x) + (this.directionY.getY() * y)); p.setZ(this.base.getZ() + (this.directionX.getZ() * x) + (this.directionY.getZ() * y)); return p; } ParametricPlane(Point3D basePoint, Vector directionX,
        Vector directionY, Vector normal);  ParametricPlane(Point3D basePoint, Vector directionX, Vector directionY);  ParametricPlane(Point3D basePoint, Point3D b, Vector normal);  ParametricPlane(Point3D basePoint, Point3D b, Point3D c);  ParametricPlane(Extrusion e); Point3D getPoint(double x, double y); Point3D getPoint(Point3D point); double[] getParameter(Point3D p); boolean isOnPlane(Point3D p); Point3D getBasePoint(); void setBasePoint(Point3D base); Vector getDirectionX(); void setDirectionX(Vector directionX); Vector getDirectionY(); void setDirectionY(Vector directionY); Vector getNormal(); }
ParametricPlane { public Point3D getPoint(double x, double y) { Point3D p = new Point3D(); p.setX(this.base.getX() + (this.directionX.getX() * x) + (this.directionY.getX() * y)); p.setY(this.base.getY() + (this.directionX.getY() * x) + (this.directionY.getY() * y)); p.setZ(this.base.getZ() + (this.directionX.getZ() * x) + (this.directionY.getZ() * y)); return p; } ParametricPlane(Point3D basePoint, Vector directionX,
        Vector directionY, Vector normal);  ParametricPlane(Point3D basePoint, Vector directionX, Vector directionY);  ParametricPlane(Point3D basePoint, Point3D b, Vector normal);  ParametricPlane(Point3D basePoint, Point3D b, Point3D c);  ParametricPlane(Extrusion e); Point3D getPoint(double x, double y); Point3D getPoint(Point3D point); double[] getParameter(Point3D p); boolean isOnPlane(Point3D p); Point3D getBasePoint(); void setBasePoint(Point3D base); Vector getDirectionX(); void setDirectionX(Vector directionX); Vector getDirectionY(); void setDirectionY(Vector directionY); Vector getNormal();  }