HCorner

ostrat.prid.phex.HCorner
See theHCorner companion class
object HCorner

Companion object for HCorner, contains factory apply methods for creating no offset, single and double HVoffsets.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HCorner.type

Members list

Value members

Concrete methods

def double(dirn1: HVDirnOpt, magnitude1: Int, dirn2: HVDirnOpt, magnitude2: Int): HCorner

Creates a corner with 2 vertexs. For example the corner of a sea hex at the mouth of straits or river needs 2 vertexs for the corresponding corners of the land hexs.

Creates a corner with 2 vertexs. For example the corner of a sea hex at the mouth of straits or river needs 2 vertexs for the corresponding corners of the land hexs.

Attributes

def sideSpecial(dirn1: HVDirnOpt, magnitude1: Int): HCorner
def single(dirn: HVDirnOpt, magnitude: Int): HCorner

Creates a corner with a single vertex.

Creates a corner with a single vertex.

Attributes