segmentEndVertexIndex static method
Implementation
static int segmentEndVertexIndex(LinearLocation loc) {
if (loc.getSegmentFraction() > 0.0) return loc.getSegmentIndex() + 1;
return loc.getSegmentIndex();
}
static int segmentEndVertexIndex(LinearLocation loc) {
if (loc.getSegmentFraction() > 0.0) return loc.getSegmentIndex() + 1;
return loc.getSegmentIndex();
}