Searched refs:isParallelTo (Results 1 – 4 of 4) sorted by relevance
| /ink/ink-geometry/src/jvmAndroidTest/kotlin/androidx/ink/geometry/ |
| D | VecTest.kt | 179 assertThat(MutableVec(1f, 0f).isParallelTo(MutableVec(1f, 0f), .001f)).isTrue() in isParallelTo_withEquivalentVecs_returnsTrue() 180 assertThat(MutableVec(0f, 100f).isParallelTo(MutableVec(0f, 100f), .001f)).isTrue() in isParallelTo_withEquivalentVecs_returnsTrue() 181 assertThat(MutableVec(359.38f, -7.84f).isParallelTo(MutableVec(359.38f, -7.84f), .001f)) in isParallelTo_withEquivalentVecs_returnsTrue() 187 assertThat(MutableVec(10f, 0f).isParallelTo(MutableVec(99f, 0f), .001f)).isTrue() in isParallelTo_whenVecsHaveSameDirection_returnsTrue() 188 assertThat(MutableVec(0f, 40f).isParallelTo(MutableVec(0f, 99f), .001f)).isTrue() in isParallelTo_whenVecsHaveSameDirection_returnsTrue() 189 assertThat(MutableVec(3f, -6f).isParallelTo(MutableVec(32f, -64f), .001f)).isTrue() in isParallelTo_whenVecsHaveSameDirection_returnsTrue() 190 assertThat(MutableVec(.0001f, .0009f).isParallelTo(MutableVec(.0005f, .0045f), .001f)) in isParallelTo_whenVecsHaveSameDirection_returnsTrue() 196 assertThat(MutableVec(8f, 0f).isParallelTo(MutableVec(-7f, 0f), .001f)).isTrue() in isParallelTo_whenVecsHaveOppositeDirections_returnsTrue() 197 assertThat(MutableVec(0f, 30f).isParallelTo(MutableVec(0f, -.99f), .001f)).isTrue() in isParallelTo_whenVecsHaveOppositeDirections_returnsTrue() 198 assertThat(MutableVec(.2f, .2f).isParallelTo(MutableVec(-99f, -99f), .001f)).isTrue() in isParallelTo_whenVecsHaveOppositeDirections_returnsTrue() [all …]
|
| /ink/ink-geometry/src/jvmAndroidMain/kotlin/androidx/ink/geometry/ |
| D | Vec.kt | 128 public fun isParallelTo( in asImmutable() method in androidx.ink.geometry.Vec
|
| /ink/ink-geometry/api/ |
| D | current.txt | 424 …method public final boolean isParallelTo(androidx.ink.geometry.Vec other, @FloatRange(from=0.0) @a…
|
| D | restricted_current.txt | 424 …method public final boolean isParallelTo(androidx.ink.geometry.Vec other, @FloatRange(from=0.0) @a…
|