Point2D scalar multiplication and divisions


o operator*
Point2D operator*(int, Point2D)
o operator*
Point2D operator*(double, Point2D)
o operator*
Point2D operator*(Point2D, int)
o operator*
Point2D operator*(Point2D, double)
o operator/
Point2D operator/(Point2D, int)
o operator/
Point2D operator/(Point2D, double)
    Point2D Scalar Operations (convenient but often illegal)
    using any type of scalar (int, float, or double)
    are not valid for points in general,
    unless they are 'affine' as coeffs of 
    a sum in which all the coeffs add to 1,
    such as: the sum (a*P + b*Q) with (a+b == 1).
	    
    The programmer must enforce this (if they want to).
    

Author:
Dan Sunday (http://www.softsurfer.com/)
Version:
2.1 Wed 28 Jun 2006 05:19:32 PM CEST
Since:
1.0

Alphabetic index Hierarchy of classes



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