A Hex tile centre hex grid HGrid coordinate. This is the tile coordinate and is all that's needed for simple grids, but is usually referred to as an HCen to distinguish it from HSeps, HVerts and HCoordOthers In Function parameters, the convention is to place the HCens as the first parameter for example f: (HCen, Pt2) => B.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait TCentrait HCenOrSeptrait TCenOrSeptrait HNotVerttrait HCoordtrait Comparable[HCoord]trait TCoordtrait TellElemInt2trait Int2Elemtrait IntNElemtrait ValueNElemtrait SpecialTtrait TellInt2trait PersistNFixedtrait Persist1Plus[Int]trait PersistNtrait TellNtrait Telltrait Persisttrait Pointclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited types
The type of LineSegLike that this Point can start or ends.
Value members
Concrete methods
I don't like this method,at least with this operator.
I don't like this method,at least with this operator.
Attributes
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
x
of typeAny
,x.equals(x)
should returntrue
. - It is symmetric: for any instances
x
andy
of typeAny
,x.equals(y)
should returntrue
if and only ify.equals(x)
returnstrue
. - It is transitive: for any instances
x
,y
, andz
of typeAny
ifx.equals(y)
returnstrue
andy.equals(z)
returnstrue
, thenx.equals(z)
should returntrue
.
If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode
to ensure that objects which are "equal" (o1.equals(o2)
returns true
) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)
).
Value parameters
- that
-
the object to compare against this object for equality.
Attributes
- Returns
-
true
if the receiver object is equivalent to the argument;false
otherwise. - Definition Classes
-
HCoord -> Any
The polygon of this hex tile if it is part of a regular grid.
The polygon of this hex tile if it is part of a regular grid.
Attributes
Up right separator. From vert 0 to vert 1.
Up right separator. From vert 0 to vert 1.
Attributes
Right separator. From vert 1 to vert 2.
Right separator. From vert 1 to vert 2.
Attributes
Down right separator. From vert 2 to vert 3.
Down right separator. From vert 2 to vert 3.
Attributes
Down left separator. From vert 3 to vert 4.
Down left separator. From vert 3 to vert 4.
Attributes
Left separator. From vert 4 to vert 5.
Left separator. From vert 4 to vert 5.
Attributes
Up left separator. From vert 5 to vert 0.
Up left separator. From vert 5 to vert 0.
Attributes
Step to adjacent hex tile.
Step to adjacent hex tile.
Attributes
This method needs removal. Step to adjacent hex tile. Will throw exception on illegal value.
This method needs removal. Step to adjacent hex tile. Will throw exception on illegal value.
Attributes
Inherited methods
Calculates a hash code value for the object.
Calculates a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)
) yet not be equal (o1.equals(o2)
returns false
). A degenerate implementation could always return 0
. However, it is required that if two objects are equal (o1.equals(o2)
returns true
) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)
). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals
method.
Attributes
Attributes
- Definition Classes
- Inherited from:
- TellElemInt2
Attributes
- Definition Classes
- Inherited from:
- TellElemInt2
Utility method to append this element on to an ArrayBuffer[Int]. End users should rarely need to use this method. This is useful for methods like filter.
1st parameter name.
2nd parameter name.
Number of parameter constituents of this class.
Number of parameter constituents of this class.
Attributes
- Definition Classes
- Inherited from:
- Persist2
The optional default value for parameter 1.
The optional default value for parameter 1.
Attributes
- Definition Classes
- Inherited from:
- Tell2Plused
The optional default value for parameter 2.
The optional default value for parameter 2.
Attributes
- Definition Classes
- Inherited from:
- Tell2Plused
Attributes
- Inherited from:
- TCoord
Uses the implicit HGridSysProjection to convert to Pt2.
Show with decimal precision of 0 places.
Show with decimal precision of 1 place padding with a zero if necessary.
Show with decimal precision of 1 place padding with a zero if necessary.
Attributes
- Inherited from:
- Tell
Show with decimal precision of 2 places padding with zeros if necessary.
Show with decimal precision of 2 places padding with zeros if necessary.
Attributes
- Inherited from:
- Tell
Show with decimal precision of 3 places padding with zeros if necessary.
Show with decimal precision of 3 places padding with zeros if necessary.
Attributes
- Inherited from:
- Tell
Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by show method on Show type class instances.
Element 1 of this Tell2+ element product.
Element 2 of this Tell2+ element product.
Attributes
- Inherited from:
- TellN
This property determines if the type can be used with Multiple syntax.
This property determines if the type can be used with Multiple syntax.
MyObj * 7
. for describing sequences succinctly. This is not desirable for some types such as numerical and mathematical vector types as this could be confusing 3 * 4 should resolve to an Int of value 12, not a Multiple(3, 4).
Attributes
- Inherited from:
- Persist