FlatShape

interface FlatShape<T : FlatShape<T>>

Represents a 2D geometric shape.

Functions

map
Link copied to clipboard
abstract fun map(mapping: (Float, Float) -> Pair<Float, Float>): T

Creates a new geometric shape of the same type by applying the provided mapping to the coordinates of the current shape.

Inheritors

Landmark
Link copied to clipboard
DetectedObject
Link copied to clipboard
DetectedPose
Link copied to clipboard
MultiPoseDetectionResult
Link copied to clipboard
PoseEdge
Link copied to clipboard
PoseLandmark
Link copied to clipboard