220 32764 <3f730e70-23a7-2654-486f-af9151cbc957@gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Matthew Woehlke <mwoehlke.floss@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Why do we include a Matrix and Vector class into
 the proposed 2D Graphics Library?
Date: Tue, 13 Jun 2017 16:48:26 -0400
Lines: 30
Approved: news@gmane.org
Message-ID: <3f730e70-23a7-2654-486f-af9151cbc957@gmail.com>
References: <7e3ee19d-f758-4d38-a015-0c474424073d@isocpp.org>
 <4f11ca6c-d24c-4c56-8297-bdbbbc45a517@isocpp.org>
 <18d7bd61-8c41-d0e5-9691-6defb0dacb21@gmail.com>
 <293bb74a-165d-46b2-a567-0561ee0a9dbd@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: blaine.gmane.org 1497386916 27069 195.159.176.226 (13 Jun 2017 20:48:36 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Tue, 13 Jun 2017 20:48:36 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.1.0
Cc: jakob.riedle@gmail.com
To: std-proposals@isocpp.org, Chet <chet.skolos@gmail.com>
Original-X-From: std-proposals+bncBC37LBFWUIFBBI47QHFAKGQECFMHNXI@isocpp.org Tue Jun 13 22:48:32 2017
Return-path: <std-proposals+bncBC37LBFWUIFBBI47QHFAKGQECFMHNXI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qt0-f198.google.com ([209.85.216.198])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBC37LBFWUIFBBI47QHFAKGQECFMHNXI@isocpp.org>)
	id 1dKsjn-0006m6-Nl
	for gclcip-std-proposals@m.gmane.org; Tue, 13 Jun 2017 22:48:31 +0200
Original-Received: by mail-qt0-f198.google.com with SMTP id o41sf72974551qtf.8
        for <gclcip-std-proposals@m.gmane.org>; Tue, 13 Jun 2017 13:48:37 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1497386916; cv=pass;
        d=google.com; s=arc-20160816;
        b=xvPCin7wB5ADC6jooR8W5z/APi3mXcfmvYzyCyOOvID4cEs8dw9JzZpjAZFx1h46fT
         ukQfbao7DdQny0KDfuqthxuz0Vd642n3QJ+TYYVHDCqhUiFFxhu6DqgodXNpICafFYz2
         jhLnlpTkMM+oJYm3EaUzdUk3uGNa+JvzXv9+1/80NE8iKCFWzjk8hl3bWyeIkZEjBZ2i
         L9VSnVQqSYgvjCuUaMiaW8+BwxI8IVWRhG2t1r2k/MYPhTL7e+yKMqMelmt/WSYeN218
         rWIFMyOoEHFn1iEA4nRyW1a2qYPM4PXwoneziLwUnB6TBvCJEJAIWbcQLXNtqu3uR6r3
         zbAg==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:content-language
         :in-reply-to:mime-version:user-agent:date:message-id:from:references
         :newsgroups:cc:to:subject:arc-authentication-results
         :arc-message-signature:dkim-signature:arc-authentication-results;
        bh=SsWDC8iVArpb8d2YJaWM799/kFI/qXZ6JruOEnnU+80=;
        b=vHwDhCGeqnr8stJhLcKl29VeuZVzSEaa2Uspdxiw8Zrg8DwPDmy/CDyYeffTx0ML4G
         N3Nrh6s2TMXDvkaUO8Xczqneq5152GYTxtXTBc8Z5lQxJvRFvp2jvs4TcS5+7X+aTAE2
         h6gF9fyEz9An08AntmYYfxqAx7grLuQn+238zFDChO8fPFwsGfi/B/oXhoo3YrgSxO5C
         YfKgxHbVbdJsja4uNymFviGXChYJcerJ6ZjBVElOL4+tbNk05Uuvb2huGVOvxnnQ5M2L
         QXwIxhz6sogd3iXZKtbIouiH943yWTyTTIIKPPWrVhKcCcpDQJCOJexBGNXQeJhivNRG
      
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com;
       spf=pass (google.com: domain of mwoehlke.floss@gmail.com designates 2607:f8b0:4001:c0b::243 as permitted sender) smtp.mailfrom=mwoehlke.floss@gmail.com;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=subject:to:cc:newsgroups:references:from:message-id:date:user-agent
         :mime-version:in-reply-to:content-language:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=SsWDC8iVArpb8d2YJaWM799/kFI/qXZ6JruOEnnU+80=;
        b=MOGarSZfRKrWP4eCfqRkELlZ9pg7AYmErU8NdHDteZ5Qr7YFjzCic9Kt5WzR3Ijo6d
         eo99iLYD0ogq8Ef05+2mkaSx1vzLj4j9V+mWD33G0TDsya7D1iUG+pes5S1z8nvQ0l+/
         eXrdumIzQe3X5NfTOrWYerM4l5vHLH0xiaX8nGWDzSwDcpwDa25NSdlWcKfypj/cZLDi
         yEtWsx+/9D4Xtz8b8RPYDLUv0U91yO9xljVPQJRy1l8zo2OyoqQdahJkSa+d7rDn+Zu/
         VQeNw0I6+DB/IxMTnyHQ6rmADD227Zu5kzpjolP9S8OFxd3U8VzjnOTiO8ZudRS36UTj
 
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:subject:to:cc:newsgroups:references:from
         :message-id:date:user-agent:mime-version:in-reply-to
         :content-language:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=SsWDC8iVArpb8d2YJaWM799/kFI/qXZ6JruOEnnU+80=;
        b=La248vZUNSACHyxSmLOHE5uGjNGZq6cErqWNQIA6LAIWqU6RJlXHIJzxqKm/S7V9lQ
         A2OjJdHstV8Hof+eutzOBeIhkUALtRLfL9rXUipaCxaca0RxyzkusKtkXmfXJ2rLPtxc
         6rzptQeKLFdTDQMb4OZfOpItpVKbPvZ7zrDigRenSdry5ewj2IC8D39xHAjFTyhqZ9BA
         Fn7oZcgZa8KhjLA0bGwqQyRPW3sz3S6PoE+tpWMvJMN+vFFQ7qOQJzJUFoWPdq4TqKLY
         cChXHI+JNz23tkP+t/WLN0EInEaMlbb/JEx9PgrZzC56LA97zi6FWlr 
X-Gm-Message-State: AKS2vOy+0gD1gHS3N9YlWeOiVaUyk62w52CU0Kkh8puVdozhjG6pNM2t
	BRUlLeG3mKPT+vmO
X-Received: by 10.200.52.137 with SMTP id w9mr3726981qtb.50.1497386916652;
        Tue, 13 Jun 2017 13:48:36 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.129.209 with SMTP id l78ls92422ioi.49.gmail; Tue, 13 Jun
 2017 13:48:35 -0700 (PDT)
X-Received: by 10.107.31.16 with SMTP id f16mr2627143iof.44.1497386915278;
        Tue, 13 Jun 2017 13:48:35 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1497386915; cv=none;
        d=google.com; s=arc-20160816;
        b=0xbk4i9lI4fqgqhaVrmQKl84AmAaXJoR8ijmdFH0oTbH0syUvcmoymWRvRnsfHlKG6
         caSb9LtsTFfJKYvHIHbd2wF6NCvLkbUCjrZZzZ0EHh9gZy2yYYMnqkoJqG6hCajr/pa+
         +ZcZL4nMLW2vKDeYIy9HG4xhdWDWMk9spd0ua8QvhUCqy9elqNCK2UMi6jCfCH2oyh71
         DdEmOVBE9BtzZdhATykl41S/cGKHQcAtCUyhNlr3UOc3h7Fhd4+bwji0qzf1ODH69U7B
         L+5CxtKzsgfGIXqbJygZD4LCHVrurwcHep0pGKXAcD2xQGJ6BoLHlb8IWttRvHlxtwYK
         XlvQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=content-transfer-encoding:content-language:in-reply-to:mime-version
         :user-agent:date:message-id:from:references:newsgroups:cc:to:subject
         :dkim-signature:arc-authentication-results;
        bh=kyzx3eh7RbJ4pqpXwjgnZJ8avRtUVL68SXyDOcyxy2I=;
        b=RCD8TokXJucymjspm0KWyiOAepBqD1ftTqrBqafzLaP1nLvtoChS8Bh72DKcsc9s5s
         7K1ARBYvMhmAbAIz4Y4aHyYYf0cDEd1ue5YUHYcgAwzljZ90Efsgnzq5POc/DbzfuX+T
         0pCCITgmv31YMNnzSoWmf3/0qLiuWjhVTTjvhpmKyDZXbiE57XBEeM+n9A5IZH1d20FW
         RlPoRz19OgIbbfjLBkQqVph03OgITW+zl5HXecTdVofHGxIwtOSPcu0In9miiMM63Kgm
         T4ZSqj3FvH471LF7u/Srj1Ss3ywCcotkzul61N37oLW3az3wtJQp1kAp0HnD5S+pDb9x
         LyGw==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com;
       spf=pass (google.com: domain of mwoehlke.floss@gmail.com designates 2607:f8b0:4001:c0b::243 as permitted sender) smtp.mailfrom=mwoehlke.floss@gmail.com;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com
Original-Received: from mail-it0-x243.google.com (mail-it0-x243.google.com. [2607:f8b0:4001:c0b::243])
        by mx.google.com with ESMTPS id 196si1263719ity.65.2017.06.13.13.48.35
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 13 Jun 2017 13:48:35 -0700 (PDT)
Received-SPF: pass (google.com: domain of mwoehlke.floss@gmail.com designates 2607:f8b0:4001:c0b::243 as permitted sender) client-ip=2607:f8b0:4001:c0b::243;
Original-Received: by mail-it0-x243.google.com with SMTP id f20so5137807itb.2
        for <std-proposals@isocpp.org>; Tue, 13 Jun 2017 13:48:35 -0700 (PDT)
X-Received: by 10.36.170.4 with SMTP id b4mr2331181itf.54.1497386915090;
        Tue, 13 Jun 2017 13:48:35 -0700 (PDT)
Original-Received: from gryphon.kitware.com (tripoint.kitware.com. [66.194.253.20])
        by smtp.googlemail.com with ESMTPSA id t193sm6264256ita.24.2017.06.13.13.48.33
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 13 Jun 2017 13:48:34 -0700 (PDT)
Original-Newsgroups: gmane.comp.lang.c++.isocpp.proposals
In-Reply-To: <293bb74a-165d-46b2-a567-0561ee0a9dbd@isocpp.org>
Content-Language: en-US
X-Original-Sender: mwoehlke.floss@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 mwoehlke.floss@gmail.com designates 2607:f8b0:4001:c0b::243 as permitted
 sender) smtp.mailfrom=mwoehlke.floss@gmail.com;       dmarc=pass (p=NONE
 sp=NONE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:32764
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/32764>

On 2017-06-13 15:19, Chet wrote:
> Existing practice is inconsistent with the ordering. 
> 
> Example: Northing and Easting, although sometimes reversed, world 
> coordinates are often presented with Northing first. Northing being Y and 
> Easting being X, however this can differ in different geographic regions.

Geodesy is *weird* :-). (And I don't just mean the habit of ordering
point values "backwards".)

On a note of amusing coincidence, I committed
https://github.com/Kitware/kwiver/commit/5680fd16db4349e37f1f94896e385b2ab8a22b32
only 19 days ago. (Executive summary: kwiver::vital::geo_point specifies
Easting, Northing storage.)

The previous geo-point type I wrote was not an array, and had members
"northing" and "easting". (Granted, they were in that order.)

IMO, as soon as you have something that can be accessed like an array,
you're going to have users expecting that `p[0]` is the "x" value.

-- 
Matthew

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/3f730e70-23a7-2654-486f-af9151cbc957%40gmail.com.

.
