Result

interface Result(source)

The result of a successful IonSnapService.snap. Extends SnapService.Result with ion-specific fields.

See also

Properties

Link copied to clipboard
abstract val curve: JsAny?

The curve geometry near the snap point, with points as WGS84 degrees objects.

Link copied to clipboard

The type of geometry snapped to.

Link copied to clipboard
abstract val heat: IonSnapHeat?

How close the snap point is to the close point in view space.

Link copied to clipboard
abstract val hitPoint: Cartesian3?

The point where the cursor hit the geometry: the nearest edge point when within the snap aperture, otherwise the surface point under the cursor.

Link copied to clipboard
abstract val normal: JsAny?

The surface normal at the snap point, in the model's local cartesian frame.

Link copied to clipboard

The type of the parent geometry snapped to.

Link copied to clipboard
abstract val snapPoint: Cartesian3?

The snapped point. This is the point to consume.