GEOdistanceCircleArc

Top  Previous  Next

Distance regulation between circle and arc.

With this routine the distance is determined by a circle to an arc. The arc runs against the clockwise of the start corner start to the final corner, both corners are same, besides, it concerns a circle. The distance calculates itself from both centres minus both radii.

Parametre

cx1 (const stands in) [IN]

cy1 (const stands in) [IN]

Centre of a circle.

r1 (const stands in) [IN]

Radius of the circle

cx2 (const stands in) [IN]

cy2 (const stands in) [IN]

Arc centre

r2 (const stands in) [IN]

Radius of the arc

alpha (const stands in) [IN]

The start corner from which the arc runs against the clockwise to the final corner.

beta (const stands in) [IN]

Final corner.

Result

(STAND-IN) [OUT]

As a result the distance is delivered. If the circle and the arc cut themselves, becomes 0.0 zurückgeliefert.

Declaration

#include "basic.h"

 

STAND-IN DLLENTRY GEOdistanceCircleArc (

const stands in cx1,

const stands in cy1,

const stands in r1,

const stands in cx2,

const stands in cy2,

const stands in r2,

const stands in alpha,

const stands in beta

);

Related functions

GEOdistance

GEOdistanceArcArc

GEOdistanceCircleCircle

GEOdistanceLineArc

GEOdistanceLineCircle

GEOdistanceLineLine

GEOdistancePointArc

GEOdistancePointCircle

GEOdistancePointLine

GEOdistanceSquare