Stay organized with collections
Save and categorize content based on your preferences.
OrientedBoundingBox
open class OrientedBoundingBox
An oriented bounding box
Summary
Properties
centerX
val centerX: Float
centerY
val centerY: Float
orientation
val orientation: Float
squareness
val squareness: Float
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# OrientedBoundingBox\n\nAdded in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nOrientedBoundingBox\n===================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/gesture/OrientedBoundingBox \"View this page in Java\") \n\n```\nopen class OrientedBoundingBox\n```\n\n|---|------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.gesture.OrientedBoundingBox](#) |\n\nAn oriented bounding box\n\nSummary\n-------\n\n| Properties ||\n|--------------------------------------------------------------------------------|-------------------------------------------------|\n| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | [centerX](#centerX:kotlin.Float) \u003cbr /\u003e |\n| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | [centerY](#centerY:kotlin.Float) \u003cbr /\u003e |\n| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | [height](#height:kotlin.Float) \u003cbr /\u003e |\n| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | [orientation](#orientation:kotlin.Float) \u003cbr /\u003e |\n| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | [squareness](#squareness:kotlin.Float) \u003cbr /\u003e |\n| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | [width](#width:kotlin.Float) \u003cbr /\u003e |\n\nProperties\n----------\n\n### centerX\n\nAdded in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nval centerX: Float\n``` \n\n### centerY\n\nAdded in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nval centerY: Float\n``` \n\n### height\n\nAdded in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nval height: Float\n``` \n\n### orientation\n\nAdded in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nval orientation: Float\n``` \n\n### squareness\n\nAdded in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nval squareness: Float\n``` \n\n### width\n\nAdded in [API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nval width: Float\n```"]]