Graphisoft®

GeometryVersion: 1.0

Geometry::XLineArc

Calculates the intersection of a sector and an arc.

     long XLineArc (
      const Sector*  s1,
      const Sector*  s2,
      double         ang2,
      const Coord*   xc
    );

Parameters

s1 
Pointer to the line (sector).
s2
Pointer to the "arc" (beg/end points).
ang2
Angle of the arc..
xc
Pointer to the result points (max 2).

Return Values

Returns the number of sections (0,1,2). Result points always start from xc[0] if any.

Requirements

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

See Also

Sector2D functions

GenArc2D functions

2D Position tests and Intersections