Click or drag to resize

PointD3D Structure

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

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public struct PointD3D

The PointD3D type exposes the following members.

Constructors
 NameDescription
Public methodPointD3D Initializes a new instance of the PointD3D struct.
Top
Properties
 NameDescription
Public propertyStatic memberEmpty Gets an empty point (0,0,0).
Public propertyIsEmpty Gets a value indicating whether this point is empty (all components are zero).
Public propertyIsNaN Gets a value indicating whether one of the members of this instance is NaN.
Public propertyPointD2DWithoutZ Gets a 2D point with X and Y the same as this point, but without the z-component.
Public propertyVectorLength Gets the vector length of this point.
Public propertyVectorLengthSquared Gets the squared vector length of this point.
Public propertyX Gets the x component of this point.
Public propertyY Gets the y component of this point.
Public propertyZ Gets the z component of this point.
Top
Methods
 NameDescription
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(PointD3D) Calculates the dot product of this point and another point.
Public methodStatic memberDotProduct(PointD3D, PointD3D) Calculates the dot product of two points.
Public methodEqualsIndicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
Public methodGetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodGetNormalized Gets a normalized version of this point (length 1).
Public methodGetSignFlipped Gets a new point with all components sign-flipped.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberInterpolate Interpolates between the points p0 and p1.
Public methodToStringReturns the fully qualified type name of this instance.
(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.
Public methodWithZ Returns a new instance with Z set to the provided value.
Public methodWithZPlus Returns a new instance with Z set to the Z plus the provided value.
Top
Operators
 NameDescription
Public operatorStatic memberAddition(PointD3D, VectorD3D) Adds a vector to a point component-wise.
Public operatorStatic memberAddition(VectorD3D, PointD3D) Adds a vector to a point component-wise.
Public operatorStatic memberEquality(PointD3D, PointD3D) Checks if two points are equal.
Public operatorStatic member(VectorD3D to PointD3D) Converts a VectorD3D to a PointD3D.
Public operatorStatic memberInequality(PointD3D, PointD3D) Checks if two points are not equal.
Public operatorStatic memberSubtraction(PointD3D, PointD3D) Subtracts two points to get a vector.
Public operatorStatic memberSubtraction(PointD3D, VectorD3D) Subtracts a vector from a point component-wise.
Top
See Also