TernarySextantVertices: Vertex Coordinates of Sextants in Equilateral Triangle

TernarySextantVerticesR 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))


tricolore documentation built on June 22, 2024, 12:16 p.m.