LinearLocation.fromLocation constructor
LinearLocation.fromLocation(
- LinearLocation loc
Creates a new location equal to a given one.
@param loc a LinearLocation
Implementation
LinearLocation.fromLocation(LinearLocation loc) {
this.componentIndex = loc.componentIndex;
this.segmentIndex = loc.segmentIndex;
this.segmentFraction = loc.segmentFraction;
}