Class DataPoint
A DataPoint describes a point in a dataset. Often, this is useful when querying a dataset, for example, to find the closest data point to a given point in world space.
Namespace: IVLab.ABREngine
Assembly: IVLab.ABREngine.Runtime.dll
Syntax
public class DataPoint
Fields
| Improve this Doc View SourcecellIndex
"Cell" index that this point belongs to. "Cells" are implemented differently for different types of data. See the table below to see what cells represent in each data type / DataImpression type:
DataImpression Type | DataTopology Type | Cell Description |
---|---|---|
SimpleSurfaceDataImpression | Triangles or Quads | Cells are the indices of triangles or quads |
SimpleLineDataImpression | LineStrip | Cells represent individual lines |
SimpleGlyphDataImpression | Points | Cells are unused, will always be 0 |
InstancedSurfaceDataImpression | Points | Cells are unused, will always be 0 |
Declaration
public int cellIndex
Field Value
Type | Description |
---|---|
int |
dataSpacePoint
The coordinates of the point, in data space
Declaration
public Vector3 dataSpacePoint
Field Value
Type | Description |
---|---|
Vector3 |
keyData
Key data that the data point belongs to.
Declaration
public KeyData keyData
Field Value
Type | Description |
---|---|
KeyData |
vertexIndex
"Vertex" index that this point belongs to.
Declaration
public int vertexIndex
Field Value
Type | Description |
---|---|
int |
worldSpacePoint
The coordinates of the point, in Unity world space
Declaration
public Vector3 worldSpacePoint
Field Value
Type | Description |
---|---|
Vector3 |