constructor override
Safe cubic constructor for the hex type featuring an assertion on input coordinates before the initialization of the object
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | q | |||
integer, | intent(in) | :: | r | |||
integer, | intent(in) | :: | s |
Axial cubic constructor for the hex type [s would be computed internally]
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | q | |||
integer, | intent(in) | :: | r |