Label.args4 constructor

Label.args4(
  1. int geomIndex,
  2. int onLoc,
  3. int leftLoc,
  4. int rightLoc,
)

Construct a Label with On, Left and Right locations for both Geometries. Initialize the locations for the given Geometry index.

Implementation

Label.args4(int geomIndex, int onLoc, int leftLoc, int rightLoc) {
  elt[0] = new TopologyLocation(Location.NONE, Location.NONE, Location.NONE);
  elt[1] = new TopologyLocation(Location.NONE, Location.NONE, Location.NONE);
  elt[geomIndex]!.setLocations(onLoc, leftLoc, rightLoc);
}