Table of Contents

Struct RootedCoordinateVector

Namespace
ScottPlot
Assembly
ScottPlot.dll

Represents a vector at a point in coordinate space

public struct RootedCoordinateVector
Inherited Members
Extension Methods

Constructors

RootedCoordinateVector(Coordinates, Vector2)

Represents a vector at a point in coordinate space

public RootedCoordinateVector(Coordinates point, Vector2 vector)

Parameters

point Coordinates
vector Vector2

Properties

Angle

Angle of the vector in radians

public readonly float Angle { get; }

Property Value

float

Magnitude

Length of the vector in coordinate units

public readonly float Magnitude { get; }

Property Value

float

MagnitudeSquared

Length of the vector squared in coordinate units

public readonly float MagnitudeSquared { get; }

Property Value

float

Point

public Coordinates Point { readonly get; set; }

Property Value

Coordinates

Vector

public Vector2 Vector { readonly get; set; }

Property Value

Vector2