Click or drag to resize

Int64LineD2DAnnotated Structure

Represents a line segment, using Points with Int64 coordinates. The points are annotated with integer numbers, which usually represents indices in a list or array.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Altaxo.Geometry.Int64_2DInt64LineD2DAnnotated

Namespace: Altaxo.Geometry.Int64_2D
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public readonly struct Int64LineD2DAnnotated

The Int64LineD2DAnnotated type exposes the following members.

Constructors
 NameDescription
Public methodInt64LineD2DAnnotated Initializes a new instance of the Int64LineD2DAnnotated class.
Top
Properties
 NameDescription
Public propertyLine 
Public propertyPoints Enumerates the two points P0 and P1.
Top
Methods
 NameDescription
Public methodEqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
Public methodGetIndex Gets either the start point's index I0 at index 0, or the end point's index I1 at index 1.
Public methodGetPoint Gets either the point P0 at index 0, or the point P1 at index 1.
Public methodGetPointWithIndex Gets either the start point with associated index at idx 0, or the end point with associated index at idx 1.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Fields
 NameDescription
Public fieldI0 Gets the index that is associated with the start point P0.
Public fieldI1 Gets the index that is associated with the end point P1.
Public fieldLength Gets the length of the line segment. The length is calculated once in the constructor, so frequent use does not imply any computational penalty.
Public fieldP0 Start point of the line segment.
Public fieldP1 End point of the line segment.
Top
See Also