Point2Dd Structure

CVB.Net Documentation
Multi-purpose 2D Point class

Namespace:  Stemmer.Cvb
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public struct Point2Dd : IPosition, IEquatable<Point2Dd>

The Point2Dd type exposes the following members.

Constructors

  NameDescription
Public methodPoint2Dd(Point2D)
Create a Point2Dd CvbPointD from a Point2D.
Public methodPoint2Dd(Double, Double)
Create a Vector2D from the x and y component.
Public methodPoint2Dd(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.
Top
Properties

  NameDescription
Public propertyItem
Index access.
Public propertyLength
length of the vector represented by this PointD object.
Public propertyPhi
Orientation of the vector represented by this PointD object.
Public propertyX
x component of the rhs
Public propertyY
y component of the rhs
Top
Methods

  NameDescription
Public methodEquals(Object)
Compares this point with the given obj.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Point2Dd)
Compares this point with the given rhs one.
Public methodGetHashCode
Hash code.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToPoint2D
Converter a PointD to a Point.
Public methodToString
String conversion.
(Overrides ValueTypeToString.)
Top
Operators

  NameDescription
Public operatorStatic memberAddition(Point2D, Point2Dd)
Addition operator for PointD structures.
Public operatorStatic memberAddition(Point2Dd, Point2D)
Addition operator for PointD structures.
Public operatorStatic memberAddition(Point2Dd, Point2Dd)
Addition operator for PointD structs.
Public operatorStatic memberDivision
Divide a Point2Dd structure by dividing its X and Y component.
Public operatorStatic memberEquality
Comparison operator for PointD structs.
Public operatorStatic memberInequality
Comparison operator for PointD structs.
Public operatorStatic memberMultiply(Double, Point2Dd)
Multiply a PointD with a number.
Public operatorStatic memberMultiply(AffineMatrix2D, Point2Dd)
Transform a point using an affine matrix (= coordinate system).
Public operatorStatic memberMultiply(Matrix2D, Point2Dd)
Multiply a Matrix with a PointD rhs.
Public operatorStatic memberMultiply(Point2Dd, Point2Dd)
Inner product of two PointD vectors.
Public operatorStatic memberSubtraction(Point2D, Point2Dd)
Subtraction operator for PointD structures.
Public operatorStatic memberSubtraction(Point2Dd, Point2D)
Subtraction operator for PointD structures.
Public operatorStatic memberSubtraction(Point2Dd, Point2Dd)
Subtraction operator for PointD structs.
Top
Fields

  NameDescription
Public fieldStatic memberEmpty
Empty rhs
Public fieldStatic memberUnitVectorX
Unit rhs in x direction
Public fieldStatic memberUnitVectorY
Unit rhs in y direction
Top
Extension Methods

  NameDescription
Public Extension MethodToPoint
implicit conversion operator to System.Drawing.Point
(Defined by ImageExtensions.)
Public Extension MethodToPointF
implicit conversion operator to System.Drawing.PointF
(Defined by ImageExtensions.)
Top
See Also

Reference