예제 #1
0
 public void setAttribute(int semantics, int ordinate, int value) {
   setAttribute(semantics, ordinate, (double) value);
 }
예제 #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);
 }
예제 #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);
 }
예제 #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);
 }
예제 #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);
 }
예제 #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);
 }