draco1023 / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

DoublePoint #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

public static DoublePoint operator -( DoublePoint p1, DoublePoint p2 )
        {
            return new DoublePoint( p1.X + p2.X, p1.Y + p2.Y );
        }

I would expect

 return new DoublePoint( p1.X - p2.X, p1.Y - p2.Y );

Isn't that right?

What version of the product are you using?

2.01

Please provide any additional information below.

File DoublePoint.cs

Original issue reported on code.google.com by karlis.b...@gmail.com on 31 Dec 2009 at 4:54

GoogleCodeExporter commented 9 years ago
Fixed - operator for DoublePoint and IntPoint classes.

Committed in revision 1152. Will be released in 2.1.x.

Original comment by andrew.k...@gmail.com on 31 Dec 2009 at 9:32

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 24 Jan 2010 at 2:31