object Orientation
Utility methods for calculations on Orientations
- Alphabetic
- By Inheritance
- Orientation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
commaSepList: String
Comma separated list of string representations of Orientations
-
def
consensus(o1: Orientation, o2: Orientation): Orientation
Returns the consensus of two possibly different Orientations.
Returns the consensus of two possibly different Orientations.
The consensus is Unstranded if the two Orientations are incompatible.
- o1
- o2
- returns
The consensus Orientation
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromString(s: String): Orientation
Returns an Orientation from its string description.
Returns an Orientation from its string description.
Throws IllegalArgumentException if the passed string does not correspond to an Orientation.
- s
String description
- returns
The corresponding Orientation
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
invert(o: Orientation): Orientation
Returns the reverse of the specified Orientation.
Returns the reverse of the specified Orientation.
Plus and Minus are swapped by this function. Unstranded is unchanged.
- o
Orientation to get the reverse of
- returns
The reverse of the specified Orientation
-
def
isCompatible(f1: Region, f2: Region): Boolean
Returns a boolean value representing whether the Orientations of two Regions are compatible.
Returns a boolean value representing whether the Orientations of two Regions are compatible.
The notion of compatibility is used when, e.g., merging or intersecting Regions.
Every Orientation is compatible with itself. Plus and Minus are incompatible with each other. Unstranded is compatible with Plus and Minus.
-
def
isCompatible(o1: Orientation, o2: Orientation): Boolean
Returns a boolean value representing whether two Orientations are compatible.
Returns a boolean value representing whether two Orientations are compatible.
The notion of compatibility is used when, e.g., merging or intersecting Features.
Every Orientation is compatible with itself. Plus and Minus are incompatible with each other. Unstranded is compatible with Plus and Minus.
- o1
- o2
- returns
The boolean value indicating compatibility
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
object
ArbitraryOrdering
extends Ordering[Orientation]
An arbitrary ordering on Orientations.