Label.args2 constructor

Label.args2(
  1. int geomIndex,
  2. int onLoc
)

Construct a Label with a single location for both Geometries. Initialize the location for the Geometry index.

Implementation

Label.args2(int geomIndex, int onLoc) {
  elt[0] = new TopologyLocation.fromOn(Location.NONE);
  elt[1] = new TopologyLocation.fromOn(Location.NONE);
  elt[geomIndex]!.setLocation(onLoc);
}