LinearLocation.fromComponentSegmentIndexFraction constructor

LinearLocation.fromComponentSegmentIndexFraction(
  1. int componentIndex,
  2. int segmentIndex,
  3. double segmentFraction
)

Implementation

LinearLocation.fromComponentSegmentIndexFraction(
    int componentIndex, int segmentIndex, double segmentFraction) {
  this.componentIndex = componentIndex;
  this.segmentIndex = segmentIndex;
  this.segmentFraction = segmentFraction;
  normalize();
}