Table of Contents

Struct RootedPixelVector

Namespace
ScottPlot
Assembly
ScottPlot.dll

Represents a vector at a point in pixel space

public struct RootedPixelVector
Inherited Members
Extension Methods

Constructors

RootedPixelVector(Pixel, Vector2)

Represents a vector at a point in pixel space

public RootedPixelVector(Pixel point, Vector2 vector)

Parameters

point Pixel
vector Vector2

Properties

Angle

Angle of the vector in radians

public readonly float Angle { get; }

Property Value

float

Magnitude

Length of the vector in pixel units

public readonly float Magnitude { get; }

Property Value

float

MagnitudeSquared

Length of the vector squared in pixel units

public readonly float MagnitudeSquared { get; }

Property Value

float

Point

public Pixel Point { readonly get; set; }

Property Value

Pixel

Vector

public Vector2 Vector { readonly get; set; }

Property Value

Vector2