In file ./include/vob/geom/Quadrics.hxx:

inline Vec project2circle

(Vec pt,
  Vec p,
  Vec ctr,
  float rad,
  int ansdir = 1,
  bool* success = 0)

Project a point through another point to a circle.

Documentation

Project a point through another point to a circle.
Parameters:
pt - the point to project
p - the projection center
- ctr The center of the circle
- rad The radius of the circle
ansdir - -1 or 1 : 1 = take further-away answer
success - Optional, the pointer to a boolean set if the projection was possible.
Returns:
The projected point, or if not possible, the original pt.

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.