TernarySextantVertices {tricolore} | R Documentation |
Vertex Coordinates of Sextants in Equilateral Triangle
Description
Given a barycentric center coordinate return the vertex coordinates of the of the sextant regions.
Usage
TernarySextantVertices(center)
Arguments
center |
The sextant center. A vector of ternary coordinates [p1, p2, p3]. |
Value
Index, vertex id and barycentric vertex coordinates for each of the 6 sextants.
Examples
# NOTE: only intended for internal use and not part of the API
tricolore:::TernarySextantVertices(rep(1/3, 3))
[Package tricolore version 1.2.4 Index]