Example #1
0
 public void setAttribute(int semantics, int ordinate, int value) {
   setAttribute(semantics, ordinate, (double) value);
 }
Example #2
0
 /**
  * Sets the ID of this point.
  *
  * @param id The ID of this point.
  */
 public void setID(int id) {
   setAttribute(Semantics.ID, 0, id);
 }
Example #3
0
 /**
  * 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);
 }
Example #4
0
 /**
  * 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);
 }
Example #5
0
 /**
  * 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);
 }
Example #6
0
 /**
  * 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);
 }