WTPlane Class Reference

Inherits from NSObject
Declared in WTPlane.h

  matrix

A 4x4 modelView matrix that represents translation and rotation of a image target.

Might be set to NULL

@property (nonatomic, assign, readonly) const float *matrix

Return Value

modelView A 4x4 matrix that defines translation and rotation of a image target in a 3d space.

Declared In

WTPlane.h

  uniqueId

Unique identifier of the plane

@property (nonatomic, assign, readonly) long uniqueId

Discussion

Unique identifier of the plane

Declared In

WTPlane.h

  type

Orientation of the plane

@property (nonatomic, assign, readonly) WTPlaneType type

Discussion

Orientation of the plane

Declared In

WTPlane.h

  extentX

Length of the plane along the X axis

@property (nonatomic, assign, readonly) WTExtent extentX

Discussion

Length of the plane along the X axis

Declared In

WTPlane.h

  extentY

Length of the plane along the Y axis

@property (nonatomic, assign, readonly) WTExtent extentY

Discussion

Length of the plane along the Y axis

Declared In

WTPlane.h

– convexHullPoints:count:

Access the plane’s convex hull data.

Always check pointsCount after the method returned. In case it is 0, the array pointer pointer was not assigned to any data.

The data pointed to by pointsArray is valid for the lifetime of the WTPlane object that returned it.

- (void)convexHullPoints:(const simd_packed_float2 *_Nullable *_Nullable)pointsArray count:(NSUInteger *)pointsCount

Parameters

pointsArray

A pointer to a simd_packed_float2 array that will contain the points of the convex hull after the method returned.

pointsCount

A pointer to a NSUInteger that will contain the number of points in the convex hull after the method returned.

Declared In

WTPlane.h

– requestConvexHull:

Requests the plane’s convex hull from the data provider. (Deprecated: use -convexHullPoints:count: instead.)

- (void)requestConvexHull:(WTConvexPlaneHullDataProvider *)dataProvider

Parameters

dataProvider

The object that determines and provides the convex plane hull’s data.

Declared In

WTPlane.h