Interface FractionOn<T>

Type Parameters:
T - The underlying concrete class representing the (linear) element
All Known Implementing Classes:
ElementProjection

public interface FractionOn<T>
Object representing a point as a fraction along a (linear) element.

  • Method Summary

    Modifier and Type
    Method
    Description
     
    double
    The fraction specifies how far along the length of element the point is located.
  • Method Details

    • element

      T element()
    • fraction

      double fraction()
      The fraction specifies how far along the length of element the point is located. It has a value between 0.0 (the point is at the start of element) and 1.0 (the point is at the end of element).