Click or drag to resize

PointD2D Structure

Represents a point with values of type Double in 2D space.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Altaxo.GeometryPointD2D

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
[SerializableAttribute]
public struct PointD2D

The PointD2D type exposes the following members.

Constructors
 NameDescription
Public methodPointD2DInitializes a new instance of the PointD2D class
Top
Properties
 NameDescription
Public propertyStatic memberEmpty 
Public propertyIsEmpty 
Public propertyIsNaN Gets a value indicating whether one of the members of this instance is NaN.
Public propertyVectorLength 
Public propertyVectorLengthSquared 
Public propertyX Gets the x component of this point.
Public propertyY Gets the y component of this point.
Top
Methods
 NameDescription
Public methodDeconstruct 
Public methodStatic memberDistance Calculates the distance between two points.
Public methodStatic memberDistanceSquared Calculates the squared distance between two points.
Public methodDistanceSquaredTo Calculates the squared distance between this point and another point.
Public methodDistanceTo Calculates the distance between this point and another point.
Public methodDotProduct(PointD2D) 
Public methodStatic memberDotProduct(PointD2D, PointD2D) 
Public methodEquals
(Overrides ValueTypeEquals(Object))
Public methodGet90DegreeRotated 
Public methodGetHashCode
(Overrides ValueTypeGetHashCode)
Public methodGetMemberwiseAbs Returns a new PointD2D based on the existing one, but with both Abs(X) instead of X, and Abs(Y) instead of Y.
Public methodGetNormalized 
Public methodGetRotatedByDegree(Double) 
Public methodGetRotatedByDegree(Double, PointD2D) 
Public methodGetRotatedByRad(Double) 
Public methodGetRotatedByRad(Double, PointD2D) 
Public methodGetSignFlipped 
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetXYFlipped 
Public methodStatic memberIsPointIntoDistance Determines whether or not a given point (point) is into a distance to a finite line, that is spanned between two points lineOrg and lineEnd.
Public methodStatic memberSquareDistanceLineToPoint Calculates the squared distance between a finite line and a point.
Public methodToString
(Overrides ValueTypeToString)
Public methodWithX Returns a new instance with X set to the provided value.
Public methodWithXPlus Returns a new instance with X set to the X plus the provided value.
Public methodWithY Returns a new instance with Y set to the provided value.
Public methodWithYPlus Returns a new instance with Y set to the Y plus the provided value.
Top
Operators
Extension Methods
See Also