Geometry::XArcsOverlap
Calculates the intersection of two arcs, but handles the overlapping case too.
long XArcsOverlap ( const Sector* s1, double ang1, const Sector* s2, double ang2, const Coord* xc );
Parameters
- s1
- Pointer to the 1. "arc" (beg/end points).
- ang2
- Angle of the 1. arc.
- s2
- Pointer to the 2. "arc" (beg/end points).
- ang2
- Angle of the 2. 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.
In case of overlapping it returns beg/end points of the common part.
Requirements
- Version: 1.0 or later
- Header: GenArc2DData.h
- Import Library: GeometryImp.lib [Win]
- Module: Geometry.dll [WIN] GeometryLib [Mac]