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