Point Structure |
Namespace: WebSupergoo.WordGlue4
The Point type exposes the following members.
| Name | Description | |
|---|---|---|
| IsZero |
True if both components of the point are
zero.
|
|
| X |
The horizontal component of the Point.
Increasing values move to the right.
|
|
| Y |
The vertical component of the Point.
Increasing values move down.
|
| Name | Description | |
|---|---|---|
| Equals(Object) |
Compare for equality.
(Overrides ValueTypeEquals(Object).) |
|
| Equals(Point, Double) |
Compare for equality.
|
|
| GetHashCode |
Obtain a hash code for the Point.
(Overrides ValueTypeGetHashCode.) |
|
| ToString |
Convert the Point to a human readable string
such as \'X=10; Y=20\'.
(Overrides ValueTypeToString.) |
|
| ToString(IFormatProvider) |
Convert the Point to a human readable string
such as \'X=10; Y=20\'.
|
| Name | Description | |
|---|---|---|
| Addition |
Add two Points returning the vector sum.
|
|
| Division |
Divide a vector Point by a scalar.
|
|
| Equality |
Compare two Points for equality.
|
|
| Inequality |
Compare two Points for inequality.
|
|
| Multiply |
Multiply a vector Point by a scalar.
|
|
| Subtraction |
Subtract the components of one Point from
another.
|
|
| UnaryNegation |
Unary negative of a vector point.
|