Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

point2.C File Reference

Contains the implementation of non-inline functions of the Point2 class and the Point2list class. More...

#include <climits>
#include "point2.H"
#include "vec2.H"

Include dependency graph for point2.C:

Go to the source code of this file.

Namespaces

namespace  mlib

Functions

template<class P, class V>
MLIB_INLINE double mlib::ray_pt_dist2 (const P &p, const V &v, const P &q)
template<class P, class V>
mlib::intersect2d (const Point2< P, V > &p1, const Vec2< V > &v1, const Point2< P, V > &p2, const Vec2< V > &v2, bool &succeeded)
 Intersection of two infinite 2d lines (p1,v1) and (p2,v2).
template<class P, class V>
MLIB_INLINE bool mlib::ray_seg_intersect (const Point2< P, V > &rayp, const Vec2< V > &rayv, const Point2< P, V > &startpt, const Point2< P, V > &endpt, Point2< P, V > &inter)
 intersect ray starting at rayp w/ vector rayv with line segment between startpt and endpt. inter is set to the intersection point.


Detailed Description

Contains the implementation of non-inline functions of the Point2 class and the Point2list class.

Definition in file point2.C.


Generated on Mon Sep 18 11:42:38 2006 for jot by  doxygen 1.4.4