Home
last modified time | relevance | path

Searched refs:isParallelTo (Results 1 – 4 of 4) sorted by relevance

/ink/ink-geometry/src/jvmAndroidTest/kotlin/androidx/ink/geometry/
DVecTest.kt179 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/
DVec.kt128 public fun isParallelTo( in asImmutable() method in androidx.ink.geometry.Vec
/ink/ink-geometry/api/
Dcurrent.txt424 …method public final boolean isParallelTo(androidx.ink.geometry.Vec other, @FloatRange(from=0.0) @a…
Drestricted_current.txt424 …method public final boolean isParallelTo(androidx.ink.geometry.Vec other, @FloatRange(from=0.0) @a…