LinearLocation.fromComponentSegmentIndexFractionNorm constructor
LinearLocation.fromComponentSegmentIndexFractionNorm()
Implementation
LinearLocation.fromComponentSegmentIndexFractionNorm(int componentIndex,
int segmentIndex, double segmentFraction, bool doNormalize) {
this.componentIndex = componentIndex;
this.segmentIndex = segmentIndex;
this.segmentFraction = segmentFraction;
if (doNormalize) normalize();
}