TopologyLocation constructor

TopologyLocation(
  1. int on,
  2. int left,
  3. int right
)

Constructs a TopologyLocation specifying how points on, to the left of, and to the right of some GraphComponent relate to some Geometry. Possible values for the parameters are Location.NULL, Location.EXTERIOR, Location.BOUNDARY, and Location.INTERIOR. @see Location

Implementation

TopologyLocation(int on, int left, int right) {
  init(3);
  location[Position.ON] = on;
  location[Position.LEFT] = left;
  location[Position.RIGHT] = right;
}