GEOdistanceLineArc

Top  Previous  Next

Distance regulation of line and arc.

With this routine the distance is determined between line and arc. If the line the arcs cuts becomes 0.0 zurückgeliefert. The distance is the shortest connection between the line and the arc.

Parametre

sx (const stands in) [IN]

sy (const stands in) [IN]

Starting point of the line

ex (const stands in) [IN]

ey (const stands in) [IN]

Terminator point of the line.

cx (const stands in) [IN]

cy (const stands in) [IN]

Centre of the arc.

r (const stands in) [IN]

Radius of the arc.

alpha (const stands in) [IN]

Start corner of the arc 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 line and the arc cut themselves, becomes 0.0 zurückgeliefert.

Declaration

#include "basic.h"

 

STAND-IN DLLENTRY GEOdistanceLineArc (

const stands in sx,

const stands in sy,

const stands in ex,

const stands in ey,

const stands in cx,

const stands in cy,

const stands in r,

const stands in alpha,

const stands in beta

);

Related functions

GEOdistance

GEOdistanceArcArc

GEOdistanceCircleArc

GEOdistanceCircleCircle

GEOdistanceLineCircle

GEOdistanceLineLine

GEOdistancePointArc

GEOdistancePointCircle

GEOdistancePointLine

GEOdistanceSquare