Point

public class Point

Represents a point in space that ARCore is tracking. These objects are created as a side-effect of Session.createAnchor(Pose) or when Frame.hitTest(float, float) returns results against a point cloud.

Note: Two Point objects may refer to the same logical point managed by ARCore. Be sure to always use equals(Object) when comparing them.

Nested Classes

enum Point.OrientationMode Indicates the point orientation mode. 

Public Methods

Anchor
createAnchor(Pose pose)
Creates an anchor that is attached to this trackable, using the given initial pose in the world coordinate space.
boolean
equals(Object obj)
Indicates whether some other object is a Trackable referencing the same logical trackable as this one.
Collection<Anchor>
getAnchors()
Gets the Anchors attached to this trackable.
Point.OrientationMode
getOrientationMode()
Returns the OrientationMode Point.OrientationMode of the point.
Pose
getPose()
Returns the pose of the point for Points created by Frame.hitTest(float, float).
TrackingState
getTrackingState()
Gets this trackable's TrackingState.
int
hashCode()
Returns a hash code value for the object.

Inherited Methods

Public Methods