FractionOfObjectLength

  • Scroll to top of this topic Scroll to Top of Page

  • Print the current topic Print Topic

  • No expanding elements on this page Show/Hide Expanders

FractionOfObjectLength is intended for use with objects that are lines rather than points or polygons. If the object being evaluated does not intersect the cell or element being evaluated, FractionOfObjectLength returns zero. If the object being evaluated intersects the cell or element being evaluated, FractionOfObjectLength returns zero if the first vertex of the object is in the element or cell, and returns one if the last vertex of the object is in the element or cell. It returns a fraction between zero and one for all other elements or cells. The value that is returned represents the fraction of an object’s length between the start of the object and the midpoint of an object’s intersection with a cell or element (fig. 24). If an object intersects a cell or element more than once, the value that will be applied is the result of the last intersection between the object and the cell or element.

Illustration of FractionOfObjectLength

 

Figure 24. FractionOfObjectLength returns 0.30.