GEOintersectCircleArc |
Top Previous Next |
Cut of circle with arc. The arc runs against the clockwise of the start to the final corner. If both corners are same, it also concerns a circle. Not required result parametres may be a ZERO. Parametre cx1 (const stands in) [IN] cy1 (const stands in) [IN] Centre of the circle. r1 (const stands in) [IN] Radius of the circle. cx2 (const stands in) [IN] cy2 (const stands in) [IN] Centre of the arc. r2 (const stands in) [IN] Radius of the arc. alpha (const stands in) [IN] Start corner of the arc runs against the clockwise to the final corner. beta (const stands in) [IN] Final corner. sx1 (stands in *) [IN / OUT] sy1 (stands in *) [IN / OUT] Co-ordinates of the first intersection. sx2 (stands in *) [IN / OUT] sy2 (stands in *) [IN / OUT] Co-ordinates of the second intersection. Result (int) [OUT] If becomes–2 zurückgeliefert the centres and the radii are same. If becomes–1 zurückgeliefert, the centres are same. But the number of the intersections. Declaration #include "basic.h"
int DLLENTRY GEOintersectCircleArc ( const stands in cx1, const stands in cy1, const stands in r1, const stands in cx2, const stands in cy2, const stands in r2, stand in * sx1, stand in * sy1, stand in * sx2, stand in * sy2 ); Related functions
|