gCAD3D 2.35
utemp.h File Reference

Go to the source code of this file.

Functions

Point2 UT2D_CiInvertPoint (Point2 *pt, Point2 *ci, double ri)
 ================================================================ More...
 
Point2 UT2D_LnInvertPoint (Point2 *pt, Line2 *ln)
 

Function Documentation

Point2 UT2D_CiInvertPoint ( Point2 pt,
Point2 ci,
double  ri 
)

================================================================

UT2D_CiInvertPoint Invert at circle <-- point
Kreis aus ci-ri:
Wenn pt ausserhalb Kreis:
der Inverse Punkt ist der Mittelpunkt jener 2 Punkte, wo die
Tangenten vom Punkt pt an den Kreis den Kreis beruehren.
Wenn pt innerhalb Kreis: umgekehrt ...
Wenn pt genau am Kreis: Punkte ident ..
Wenn pt genau am KreisCenter: genau 1 Punkt im unendlichen ..
Invert (=mirror) a point at a circle.
The point may be infinite (=UT2D_PT_INFTY).
IN:
Point2 *pt ... point
Point2 *ci ... center of inversion (!=UT2D_PT_INFTY)
double ri ... radius of inversion
OUT:
Returncode:
inverse point (may be infinite)
Point2 UT2D_LnInvertPoint ( Point2 pt,
Line2 ln 
)
UT2D_LnInvertPoint Invert at line <-- point
Invert (=mirror) a point at a line.
The point may be infinite (=UT2D_PT_INFTY).
IN:
Point2 *pt ... point
Line2 *ln ... line of inversion
OUT:
Returncode:
inverse point (may be infinite)