Class VectorFieldDataSourceCoordinatesList
- Namespace
- ScottPlot.DataSources
- Assembly
- ScottPlot.dll
public class VectorFieldDataSourceCoordinatesList : IVectorFieldSource, IDataSource, IGetNearest
- Inheritance
-
VectorFieldDataSourceCoordinatesList
- Implements
- Inherited Members
- Extension Methods
Constructors
VectorFieldDataSourceCoordinatesList(IList<RootedCoordinateVector>)
public VectorFieldDataSourceCoordinatesList(IList<RootedCoordinateVector> rootedVectors)
Parameters
rootedVectors
IList<RootedCoordinateVector>
Properties
MaxRenderIndex
public int MaxRenderIndex { get; set; }
Property Value
MinRenderIndex
public int MinRenderIndex { get; set; }
Property Value
Methods
GetLimits()
public AxisLimits GetLimits()
Returns
GetLimitsX()
public CoordinateRange GetLimitsX()
Returns
GetLimitsY()
public CoordinateRange GetLimitsY()
Returns
GetNearest(Coordinates, RenderDetails, float)
Return the point nearest a specific location given the X/Y pixel scaling information from a previous render.
Will return None if the nearest point is greater than maxDistance
pixels away.
public DataPoint GetNearest(Coordinates mouseLocation, RenderDetails renderInfo, float maxDistance = 15)
Parameters
mouseLocation
CoordinatesrenderInfo
RenderDetailsmaxDistance
float
Returns
GetNearestX(Coordinates, RenderDetails, float)
Return the point nearest a specific X location given the X/Y pixel scaling information from a previous render.
Will return None if the nearest point is greater than maxDistance
pixels away.
public DataPoint GetNearestX(Coordinates mouseLocation, RenderDetails renderInfo, float maxDistance = 15)
Parameters
mouseLocation
CoordinatesrenderInfo
RenderDetailsmaxDistance
float
Returns
GetRootedVectors()
public IReadOnlyList<RootedCoordinateVector> GetRootedVectors()