private LinearLocation(int componentIndex, int segmentIndex, double segmentFraction, boolean doNormalize) { this.componentIndex = componentIndex; this.segmentIndex = segmentIndex; this.segmentFraction = segmentFraction; if (doNormalize) normalize(); }
public LinearLocation(int componentIndex, int segmentIndex, double segmentFraction) { this.componentIndex = componentIndex; this.segmentIndex = segmentIndex; this.segmentFraction = segmentFraction; normalize(); }