Multi-purpose 2D Point class
Namespace: Stemmer.Cvb
Assembly: Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax
The Point2Dd type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Point2Dd(Point2D) |
Create a Point2Dd CvbPointD from a Point2D.
| |
Point2Dd(Double, Double) |
Create a Vector2D from the x and y component.
| |
Point2Dd(Angle, Double) |
Create a PointD vector from radial coordinates. Note that the
Point2Dd vectors are internally stored in Cartesian
coordinates and that extensive use of radial coordinates my be slow.
|
Properties
Name | Description | |
---|---|---|
Item |
Index access.
| |
Length |
length of the vector represented by this PointD object.
| |
Phi |
Orientation of the vector represented by this PointD object.
| |
X |
x component of the rhs
| |
Y |
y component of the rhs
|
Methods
Name | Description | |
---|---|---|
Equals(Object) |
Compares this point with the given obj.
(Overrides ValueTypeEquals(Object).) | |
Equals(Point2Dd) |
Compares this point with the given rhs one.
| |
GetHashCode |
Hash code.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToPoint2D |
Converter a PointD to a Point.
| |
ToString |
String conversion.
(Overrides ValueTypeToString.) |
Operators
Name | Description | |
---|---|---|
Addition(Point2D, Point2Dd) |
Addition operator for PointD structures.
| |
Addition(Point2Dd, Point2D) |
Addition operator for PointD structures.
| |
Addition(Point2Dd, Point2Dd) |
Addition operator for PointD structs.
| |
Division |
Divide a Point2Dd structure by dividing its X and Y
component.
| |
Equality |
Comparison operator for PointD structs.
| |
Inequality |
Comparison operator for PointD structs.
| |
Multiply(Double, Point2Dd) |
Multiply a PointD with a number.
| |
Multiply(AffineMatrix2D, Point2Dd) |
Transform a point using an affine matrix (= coordinate system).
| |
Multiply(Matrix2D, Point2Dd) |
Multiply a Matrix with a PointD rhs.
| |
Multiply(Point2Dd, Point2Dd) |
Inner product of two PointD vectors.
| |
Subtraction(Point2D, Point2Dd) |
Subtraction operator for PointD structures.
| |
Subtraction(Point2Dd, Point2D) |
Subtraction operator for PointD structures.
| |
Subtraction(Point2Dd, Point2Dd) |
Subtraction operator for PointD structs.
|
Fields
Name | Description | |
---|---|---|
Empty |
Empty rhs
| |
UnitVectorX |
Unit rhs in x direction
| |
UnitVectorY |
Unit rhs in y direction
|
Extension Methods
Name | Description | |
---|---|---|
ToPoint |
implicit conversion operator to System.Drawing.Point
(Defined by ImageExtensions.) | |
ToPointF |
implicit conversion operator to System.Drawing.PointF
(Defined by ImageExtensions.) |
See Also