Data Structures

TE_Pattern

TE_Pattern Struct Reference

Data Fields

TypeFieldDescription
TE_Pointpoints[8]Array of points describing the pattern. The maximum points a pattern can have is 8.
intnum_pointsThe number of points the pattern has.
charname[128]The ASCII encoded name of the pattern.

Detailed Description

A TE_Pattern struct is a named list of points that represents a tangible pattern. The points are specified in a coordinate system where the x axis points to the right and the y axis points down.

NOTE

The full pattern api is not currently available through C# or Electron

TE_Point

TE_Point Union Reference

Data Fields

TypeFieldDescription
struct{ float x, y }
floate[2]

Detailed Description

This is a helper struct used to define TE_Pattern.

TE_Tangible

TE_Tangible Struct Reference

Data Fields

TypeFieldDescription
intidA unique id representing this tangible instance.
floatxThe x coordinate of the tangible's centroid.
floatyThe y coordinate of the tangible's centroid.
floatangleThe angile in radians of the tangible.
charname[128]The name of the pattern that best matches the tangible.

Detailed Description

This struct represents all of the state of a tracked tangible.

Last Updated: 8/3/2018, 4:57:22 PM