Function: intplines

Syntax

intplines (<pointsA>,<pointsB> {,<num>} )

Type

point

Returns

The intersection points of two polylines, defined by point vertices.

Parameters

Resulting intersection points are ordered as they occur along the first polyline.

Examples

Define 2 polylines interactively, then compute their intersection points.

entity pl1 = lines {pseries -rub}
entity pl2 = lines {pseries -rub}
point xs[] = intplines(pl1.vertex,pl2.vertex)

Define a polyline interactively, then compute any crossover points.

entity mypoly = lines {pseries -rub}
point xs[] = intplines(mypoly.vertex,<>)

See Also

Functions:

intcc (point), intlc (point), intlp (point), intpp (point)