# Intersection

Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+class:androidx.ink.geometry.Intersection) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

*** ** * ** ***

Common/AllAndroid/JVMNative/C/iOS
- Cmn

  ```
  object Intersection
  ```

*** ** * ** ***

Contains functions for intersection of ink geometry classes. For Kotlin callers, these are available as extension functions on the geometry classes themselves.

## Summary

| ### Public functions |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Vec).intersects(androidx.ink.geometry.Box)(box: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box)` Returns true when the point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`) intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Segment).intersects(androidx.ink.geometry.Box)(box: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` --- when this segment has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box`'s interior, edges, or vertices | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Triangle).intersects(androidx.ink.geometry.Box)(box: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` --- When this triangle has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box`'s interior, edges, or vertices. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.Box)(box: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` --- When the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.Box)` has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram`'s interior, edges, or vertices. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Box).intersects(androidx.ink.geometry.Box)(other: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` intersects with `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Box).intersects(androidx.ink.geometry.Box)` --- When it has at least one point in common with `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Box).intersects(androidx.ink.geometry.Box)`'s interior, edges, or vertices. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.Parallelogram)(other: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` intersects with `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.Parallelogram)` --- When it has at least one point in common with `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.Parallelogram)`'s interior, edges, or vertices. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Segment).intersects(androidx.ink.geometry.Segment)(other: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` intersects with another `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` --- when this segment has at least one point (including the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment#start()` and `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment#end()` points) in common with another `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Triangle).intersects(androidx.ink.geometry.Triangle)(other: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` intersects with `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Triangle).intersects(androidx.ink.geometry.Triangle)` --- When this triangle has at least one point in common with `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Triangle).intersects(androidx.ink.geometry.Triangle)`'s interior, edges, or vertices. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Vec).intersects(androidx.ink.geometry.Vec)(other: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec)` Returns true if the point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`), intersects `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Vec).intersects(androidx.ink.geometry.Vec)`; this only occurs when the two points are equal. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Vec).intersects(androidx.ink.geometry.Parallelogram)(parallelogram: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram)` Returns true when the point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`) intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Segment).intersects(androidx.ink.geometry.Parallelogram)(parallelogram: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` --- when this segment has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram`'s interior, edges, or vertices. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Triangle).intersects(androidx.ink.geometry.Parallelogram)(parallelogram: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` --- When this triangle has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram`'s interior, edges, or vertices. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Box).intersects(androidx.ink.geometry.Parallelogram)(parallelogram: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` --- When it has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram`'s interior, edges, or vertices. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Segment).intersects(androidx.ink.geometry.Vec)(point: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec)` Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` intersects with a point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`). | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Triangle).intersects(androidx.ink.geometry.Vec)(point: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec)` Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` intersects with a point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`). | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.Vec)(point: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec)` Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` intersects with a point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`). | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Box).intersects(androidx.ink.geometry.Vec)(point: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec)` Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` intersects with a point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`). | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Vec).intersects(androidx.ink.geometry.Segment)(segment: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment)` Returns true when the point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`) intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Triangle).intersects(androidx.ink.geometry.Segment)(segment: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` --- when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Triangle).intersects(androidx.ink.geometry.Segment)` has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle`'s interior, edges, or vertices. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.Segment)(segment: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` --- when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.Segment)` has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram`'s interior, edges, or vertices. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Box).intersects(androidx.ink.geometry.Segment)(segment: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` --- when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Box).intersects(androidx.ink.geometry.Segment)` has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box`'s interior, edges, or vertices | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Vec).intersects(androidx.ink.geometry.Triangle)(triangle: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle)` Returns true when the point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`) intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Segment).intersects(androidx.ink.geometry.Triangle)(triangle: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` --- when this segment has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle`'s interior, edges, or vertices. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.Triangle)(triangle: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` --- When the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.Triangle)` has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram`'s interior, edges, or vertices. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Box).intersects(androidx.ink.geometry.Triangle)(triangle: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` --- When the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Box).intersects(androidx.ink.geometry.Triangle)` has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box`'s interior, edges, or vertices. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.Box,androidx.ink.geometry.AffineTransform)(box: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box, meshToBox: https://developer.android.com/reference/kotlin/androidx/ink/geometry/AffineTransform)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Box).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)(mesh: https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh, meshToBox: https://developer.android.com/reference/kotlin/androidx/ink/geometry/AffineTransform)` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)( mesh: https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh, meshToParallelogram: https://developer.android.com/reference/kotlin/androidx/ink/geometry/AffineTransform )` RReturns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Vec).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)(mesh: https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh, meshToPoint: https://developer.android.com/reference/kotlin/androidx/ink/geometry/AffineTransform)` Returns true when the point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`) intersects with `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Vec).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Segment).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)( mesh: https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh, meshToSegment: https://developer.android.com/reference/kotlin/androidx/ink/geometry/AffineTransform )` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Triangle).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)( mesh: https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh, meshToTriangle: https://developer.android.com/reference/kotlin/androidx/ink/geometry/AffineTransform )` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.Parallelogram,androidx.ink.geometry.AffineTransform)( parallelogram: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram, meshToParallelogram: https://developer.android.com/reference/kotlin/androidx/ink/geometry/AffineTransform )` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.Vec,androidx.ink.geometry.AffineTransform)(point: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec, meshToPoint: https://developer.android.com/reference/kotlin/androidx/ink/geometry/AffineTransform)` Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh` intersects with `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.Vec,androidx.ink.geometry.AffineTransform)`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.Segment,androidx.ink.geometry.AffineTransform)( segment: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment, meshToSegment: https://developer.android.com/reference/kotlin/androidx/ink/geometry/AffineTransform )` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.Triangle,androidx.ink.geometry.AffineTransform)( triangle: https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle, meshToTriangle: https://developer.android.com/reference/kotlin/androidx/ink/geometry/AffineTransform )` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Segment).intersects(kotlin.Float,kotlin.Float)(x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` intersects with a point (x, y). | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Triangle).intersects(kotlin.Float,kotlin.Float)(x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` intersects with a point (x, y). | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(kotlin.Float,kotlin.Float)(x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` intersects with a point (x, y). | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Box).intersects(kotlin.Float,kotlin.Float)(x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` intersects with a point (x, y). | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform,androidx.ink.geometry.AffineTransform)( other: https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh, thisToCommonTransform: https://developer.android.com/reference/kotlin/androidx/ink/geometry/AffineTransform, otherToCommonTransform: https://developer.android.com/reference/kotlin/androidx/ink/geometry/AffineTransform )` Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh.https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(kotlin.Float,kotlin.Float,androidx.ink.geometry.AffineTransform)( x: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, y: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, meshToPoint: https://developer.android.com/reference/kotlin/androidx/ink/geometry/AffineTransform )` Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh` intersects with the point (x, y). | Cmn |

## Public functions

### Vec.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Vec.intersects(box: Box): Boolean
```

Returns true when the point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`) intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box`. All points on the boundary of the box (including its vertices) and in the interior of the box intersect with it.

### Segment.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Segment.intersects(box: Box): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` --- when this segment has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box`'s interior, edges, or vertices

### Triangle.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Triangle.intersects(box: Box): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` --- When this triangle has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box`'s interior, edges, or vertices.

### Parallelogram.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Parallelogram.intersects(box: Box): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` --- When the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.Box)` has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram`'s interior, edges, or vertices.

### Box.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Box.intersects(other: Box): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` intersects with `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Box).intersects(androidx.ink.geometry.Box)` --- When it has at least one point in common with `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Box).intersects(androidx.ink.geometry.Box)`'s interior, edges, or vertices.

### Parallelogram.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Parallelogram.intersects(other: Parallelogram): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` intersects with `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.Parallelogram)` --- When it has at least one point in common with `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.Parallelogram)`'s interior, edges, or vertices.

### Segment.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Segment.intersects(other: Segment): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` intersects with another `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` --- when this segment has at least one point (including the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment#start()` and `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment#end()` points) in common with another `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment`.

### Triangle.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Triangle.intersects(other: Triangle): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` intersects with `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Triangle).intersects(androidx.ink.geometry.Triangle)` --- When this triangle has at least one point in common with `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Triangle).intersects(androidx.ink.geometry.Triangle)`'s interior, edges, or vertices.

### Vec.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Vec.intersects(other: Vec): Boolean
```

Returns true if the point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`), intersects `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Vec).intersects(androidx.ink.geometry.Vec)`; this only occurs when the two points are equal.

### Vec.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Vec.intersects(parallelogram: Parallelogram): Boolean
```

Returns true when the point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`) intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram`. All points on the boundary of the parallelogram (including its vertices) and in the interior of the parallelogram intersect with it.

### Segment.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Segment.intersects(parallelogram: Parallelogram): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` --- when this segment has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram`'s interior, edges, or vertices.

### Triangle.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Triangle.intersects(parallelogram: Parallelogram): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` --- When this triangle has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram`'s interior, edges, or vertices.

### Box.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Box.intersects(parallelogram: Parallelogram): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` --- When it has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram`'s interior, edges, or vertices.

### Segment.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Segment.intersects(point: Vec): Boolean
```

Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` intersects with a point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`). All points on the segment, including endpoints, intersect with the segment.

### Triangle.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Triangle.intersects(point: Vec): Boolean
```

Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` intersects with a point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`). All points on the boundary of the triangle (including its vertices) and in the interior of the triangle intersect with it.

### Parallelogram.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Parallelogram.intersects(point: Vec): Boolean
```

Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` intersects with a point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`). All points on the boundary of the parallelogram (including its vertices) and in the interior of the parallelogram intersect with it.

### Box.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Box.intersects(point: Vec): Boolean
```

Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` intersects with a point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`). All points on the boundary of the box (including its vertices) and in the interior of the box intersect with it.

### Vec.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Vec.intersects(segment: Segment): Boolean
```

Returns true when the point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`) intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment`. All points on the segment, including endpoints, intersect with the segment.

### Triangle.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Triangle.intersects(segment: Segment): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` --- when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Triangle).intersects(androidx.ink.geometry.Segment)` has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle`'s interior, edges, or vertices.

### Parallelogram.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Parallelogram.intersects(segment: Segment): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` --- when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.Segment)` has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram`'s interior, edges, or vertices.

### Box.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Box.intersects(segment: Segment): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` --- when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Box).intersects(androidx.ink.geometry.Segment)` has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box`'s interior, edges, or vertices

### Vec.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Vec.intersects(triangle: Triangle): Boolean
```

Returns true when the point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`) intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle`. All points on the boundary of the triangle (including its vertices) and in the interior of the triangle intersect with it.

### Segment.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Segment.intersects(triangle: Triangle): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` --- when this segment has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle`'s interior, edges, or vertices.

### Parallelogram.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Parallelogram.intersects(triangle: Triangle): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` --- When the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.Triangle)` has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram`'s interior, edges, or vertices.

### Box.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Box.intersects(triangle: Triangle): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` --- When the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Box).intersects(androidx.ink.geometry.Triangle)` has at least one point in common with the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box`'s interior, edges, or vertices.

### PartitionedMesh.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun PartitionedMesh.intersects(box: Box, meshToBox: AffineTransform): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box`.

Note that, because it is expensive to apply a transform to a mesh, this method takes a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.Box,androidx.ink.geometry.AffineTransform)` transform as an argument. This transform maps from the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`'s coordinate space to the coordinate space that the intersection should be checked in.

### Box.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Box.intersects(mesh: PartitionedMesh, meshToBox: AffineTransform): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`.

Note that, because it is expensive to apply a transform to a mesh, this method takes a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Box).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)` transform as an argument. This transform maps from the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`'s coordinate space to the coordinate space that the intersection should be checked in.

### Parallelogram.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Parallelogram.intersects(
    mesh: PartitionedMesh,
    meshToParallelogram: AffineTransform
): Boolean
```

RReturns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`.

Note that, because it is expensive to apply a transform to a mesh, this method takes a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Parallelogram).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)` transform as an argument. This transform maps from the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`'s coordinate space to the coordinate space that the intersection should be checked in.

### Vec.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Vec.intersects(mesh: PartitionedMesh, meshToPoint: AffineTransform): Boolean
```

Returns true when the point (a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Vec`) intersects with `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Vec).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)`. `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Vec).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)` transforms the coordinate space of `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Vec).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)` to the coordinate space that the intersection should be checked in (that of the point). All points along the boundary of the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Vec).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)` and the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Vec).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)`s interior are considered for intersection.

Performance note: it is expensive to apply a transform to a mesh. To avoid unnecessary calculations, the inverse of `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Vec).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)` is used to perform the mathematically equivalent intersection of the point in `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Vec).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)`'s object coordinates.

### Segment.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Segment.intersects(
    mesh: PartitionedMesh,
    meshToSegment: AffineTransform
): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`.

Note that, because it is expensive to apply a transform to a mesh, this method takes a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Segment).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)` transform as an argument. This transform maps from the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`'s coordinate space to the coordinate space that the intersection should be checked in.

### Triangle.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Triangle.intersects(
    mesh: PartitionedMesh,
    meshToTriangle: AffineTransform
): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`.

Note that, because it is expensive to apply a transform to a mesh, this method takes a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.Triangle).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform)` transform as an argument. This transform maps from the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`'s coordinate space to the coordinate space that the intersection should be checked in.

### PartitionedMesh.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun PartitionedMesh.intersects(
    parallelogram: Parallelogram,
    meshToParallelogram: AffineTransform
): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram`.

Note that, because it is expensive to apply a transform to a mesh, this method takes a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.Parallelogram,androidx.ink.geometry.AffineTransform)` transform as an argument. This transform maps from the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`'s coordinate space to the coordinate space that the intersection should be checked in.

### PartitionedMesh.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun PartitionedMesh.intersects(point: Vec, meshToPoint: AffineTransform): Boolean
```

Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh` intersects with `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.Vec,androidx.ink.geometry.AffineTransform)`. `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.Vec,androidx.ink.geometry.AffineTransform)` transforms the coordinate space of the mesh to the coordinate space that the intersection should be checked in (that of the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.Vec,androidx.ink.geometry.AffineTransform)`). All points along the boundary of the mesh and the mesh's interior are considered for intersection.

Performance note: it is expensive to apply a transform to a mesh. To avoid unnecessary calculations, the inverse of `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.Vec,androidx.ink.geometry.AffineTransform)` is used to perform the mathematically equivalent intersection of the point in mesh's object coordinates.

### PartitionedMesh.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun PartitionedMesh.intersects(
    segment: Segment,
    meshToSegment: AffineTransform
): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment`.

Note that, because it is expensive to apply a transform to a mesh, this method takes a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.Segment,androidx.ink.geometry.AffineTransform)` transform as an argument. This transform maps from the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`'s coordinate space to the coordinate space that the intersection should be checked in.

### PartitionedMesh.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun PartitionedMesh.intersects(
    triangle: Triangle,
    meshToTriangle: AffineTransform
): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle`.

Note that, because it is expensive to apply a transform to a mesh, this method takes a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.Triangle,androidx.ink.geometry.AffineTransform)` transform as an argument. This transform maps from the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`'s coordinate space to the coordinate space that the intersection should be checked in.

### Segment.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Segment.intersects(x: Float, y: Float): Boolean
```

Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Segment` intersects with a point (x, y). All points on the segment, including endpoints, intersect with the segment.

### Triangle.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Triangle.intersects(x: Float, y: Float): Boolean
```

Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Triangle` intersects with a point (x, y). All points on the boundary of the triangle (including its vertices) and in the interior of the triangle intersect with it.

### Parallelogram.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Parallelogram.intersects(x: Float, y: Float): Boolean
```

Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Parallelogram` intersects with a point (x, y). All points on the boundary of the parallelogram (including its vertices) and in the interior of the parallelogram intersect with it.

### Box.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun Box.intersects(x: Float, y: Float): Boolean
```

Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Box` intersects with a point (x, y). All points on the boundary of the box (including its vertices) and in the interior of the box intersect with it.

### PartitionedMesh.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun PartitionedMesh.intersects(
    other: PartitionedMesh,
    thisToCommonTransform: AffineTransform,
    otherToCommonTransform: AffineTransform
): Boolean
```

Returns true when a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh` intersects with a `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`.

Note that, because it is expensive to apply a transform to a mesh, this method takes two `https://developer.android.com/reference/kotlin/androidx/ink/geometry/AffineTransform` objects: `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform,androidx.ink.geometry.AffineTransform)` and `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(androidx.ink.geometry.PartitionedMesh,androidx.ink.geometry.AffineTransform,androidx.ink.geometry.AffineTransform)`. These transforms map from the respective `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh`s' coordinate spaces to the common coordinate space that the intersection should be checked in.

### PartitionedMesh.intersects

Cmn Artifact: [androidx.ink:ink-geometry](https://developer.android.com/jetpack/androidx/releases/ink) [View Source](https://cs.android.com/search?q=file:androidx/ink/geometry/Intersection.kt+function:intersects) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/ink#1.0.0)

```
fun PartitionedMesh.intersects(
    x: Float,
    y: Float,
    meshToPoint: AffineTransform
): Boolean
```

Returns true when the `https://developer.android.com/reference/kotlin/androidx/ink/geometry/PartitionedMesh` intersects with the point (x, y). `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(kotlin.Float,kotlin.Float,androidx.ink.geometry.AffineTransform)` transforms the coordinate space of the mesh to the coordinate space that the intersection should be checked in (that of the point). All points along the boundary of the mesh and the mesh's interior are considered for intersection.

Performance note: it is expensive to apply a transform to a mesh. To avoid unnecessary calculations, the inverse of `https://developer.android.com/reference/kotlin/androidx/ink/geometry/Intersection#(androidx.ink.geometry.PartitionedMesh).intersects(kotlin.Float,kotlin.Float,androidx.ink.geometry.AffineTransform)` is used to perform the mathematically equivalent intersection of the point in mesh's object coordinates.