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


jschoeley/tricolore documentation built on May 18, 2024, 10:57 p.m.