/** Check if point is within this endpoint. *@param x is the point x. *@param y is the point y. *@param z is the point z. *@return true of within. */ public boolean isWithin(final double x, final double y, final double z) { return this.point.isIdentical(x, y, z); }
@Override public boolean isWithin(final double x, final double y, final double z) { for (final GeoPoint p : surfacePoints) { if (p.isIdentical(x,y,z)) return true; } return false; }
@Override public boolean isWithin(final double x, final double y, final double z) { if (!isOnSurface) { return false; } return thePoint.isIdentical(x,y,z); }
/** Compute whether point matches another. *@param p is the other point. *@return true if the same. */ public boolean isIdentical(final GeoPoint p) { return isIdentical(p.x, p.y, p.z); }
/** Check if point is within this endpoint. *@param point is the point. *@return true of within. */ public boolean isWithin(final Vector point) { return this.point.isIdentical(point.x, point.y, point.z); }
@Override public boolean isWithin(final double x, final double y, final double z) { for (final GeoPoint p : surfacePoints) { if (p.isIdentical(x,y,z)) return true; } return false; }
@Override public boolean isWithin(final double x, final double y, final double z) { for (final GeoPoint p : surfacePoints) { if (p.isIdentical(x,y,z)) return true; } return false; }