public void setAttribute(int semantics, int ordinate, int value) { setAttribute(semantics, ordinate, (double) value); }
/** * Sets the ID of this point. * * @param id The ID of this point. */ public void setID(int id) { setAttribute(Semantics.ID, 0, id); }
/** * Sets the M coordinate of this point. * * @param m The M coordinate to be set for this point. */ public void setM(double m) { setAttribute(Semantics.M, 0, m); }
/** * Sets the Z coordinate of this point. * * @param z The Z coordinate to be set for this point. */ public void setZ(double z) { setAttribute(Semantics.Z, 0, z); }
/** * Sets the Y coordinate of this point. * * @param y The Y coordinate to be set for this point. */ public void setY(double y) { setAttribute(Semantics.POSITION, 1, y); }
/** * Sets the X coordinate of the point. * * @param x The X coordinate to be set for this point. */ public void setX(double x) { setAttribute(Semantics.POSITION, 0, x); }