Skip to content

Create inverse function for terncoords #8

Open

Description

@alchemyst

Terncoords converts ternary fractions to rectangular coordinates, but we need to be able to go back from those coordinates to the fractions.

Activity

  1. sha17hab commented on Jun 30, 2016

    @sha17hab
    Contributor

    Hello Carl, sorry I am a little bit lost in your latest comment. Did you mean that we should produce an anti-Terncoords function to get the rectangular coordinate and turn them into three fractional value where their sum should be equal to a unit?

  2. alchemyst commented on Jun 30, 2016

    @alchemyst
    OwnerAuthor

    That's exactly what I mean. terncoords takes the fractional values and gives x, y coordinates that can be plotted. There isn't a quick way right now to take the x, y coordinates back to the fractions.

  3. sha17hab commented on Jun 30, 2016

    @sha17hab
    Contributor

    Sure, but is it practical since one should have the original fractional variables to be able to use Terncoords converts. What would be the use of this?

  4. alchemyst commented on Jun 30, 2016

    @alchemyst
    OwnerAuthor

    For instance to enable ginput to be used, or to find the fractions for particular contours.

    This message may contain unintentional errors, as it was typed on a phone

    On 30 Jun 2016, at 18:01, Shahab Afshari notifications@github.com wrote:

    Sure, but is it practical since one should have the original fractional variables to be able to use Terncoords converts. What would be the use of this?

    —
    You are receiving this because you authored the thread.
    Reply to this email directly, view it on GitHub, or mute the thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions