Graphisoft®

GeometryVersion: 1.0

Geometry::XLines

Calculate the intersection of two lines. Parallel lines have no intersection.

     bool XLines (
      const Sector*  s1,
      const Sector*  s2,
      Coord*         xc
    );

Parameters

s1
Pointer to first line.
s2
Pointer to second line.
xc
Pointer to the coordinates of the intersection point.

Return Values

true
The two lines are intersecting..
false
The two lines are not intersecting.

Requirements

Version: 1.0 or later
Header: Sector2DData.h
Import Library: GeometryImp.lib [Win]
Module: Geometry.dll [WIN] GeometryLib [Mac]

See Also

Sector2D functions

2D Position tests and Intersections