ObjectIntersectLength

  • 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

ObjectIntersectLength({Column, Row, Layer}) returns the length of intersection between a cell or element and a 2-D projection of the object. The function has three optional arguments: Column, Row, and Layer. If these arguments are provided, they specify the cell for which the length should be calculated. If they are not provided, the function uses the column, row, and layer of the node or element for which the formula is being calculated. If any of the arguments has an invalid value, the function returns zero. If the object being evaluated intersects the cell or element being evaluated more than once, ObjectIntersectLength returns the sum of all the individual lengths of intersection.

In MODFLOW-LGR models, the cells shared between the parent and child models are treated slightly differently in the parent grid. For them ObjectIntersectArea returns the length of intersection between the unshared portion of the parent grid cell and the object.

For SUTRA models with objects drawn on the front view of the model, ObjectIntersectLength returns the two-dimensional length of intersection between a a projection of the cell or element on the front view of the model and an object. Use of ObjectIntersectLength on the front view of the model is not recommended for SUTRA and MODFLOW 6 DISV models.