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
Coordinatesvector
Vector2
Properties
Angle
Angle of the vector in radians
public readonly float Angle { get; }
Property Value
Magnitude
Length of the vector in coordinate units
public readonly float Magnitude { get; }
Property Value
MagnitudeSquared
Length of the vector squared in coordinate units
public readonly float MagnitudeSquared { get; }
Property Value
Point
public Coordinates Point { readonly get; set; }
Property Value
Vector
public Vector2 Vector { readonly get; set; }