calcIntersect: Calculates the position of a point along a segment.

Description Usage Arguments Value

View source: R/split-height.R

Description

Thus function calculates the position along a segment where a point is located. The position is non-dimensional in the sense that the first point is at position 0 and the second point is at position 1.

Usage

1
  calcIntersect(z1, z2, z)

Arguments

z1

First point.

z2

Second point.

z

Point whose position is to be determined.

Value

The linear position of the point where z1 is 0 and z2 is 1.


tunelipt/model3d documentation built on Nov. 5, 2019, 10:59 a.m.