[FRIAM] square land math question

Frank Wimberly wimberly3 at gmail.com
Thu Jul 23 18:09:58 EDT 2020


The mathematical concept of a point in R^2 is that a it is completely
determined by the values of its coordinates.  Same coordinates, same
point.  A square per se Is determined by the length of its side(s).  There
is no information about it's location.

If I were writing a Square class for a graphics application I would include
two member variables:

    LocationOfLowerLeft point;
    LengthOfSide double;

I haven't written code for years so beware.

---
Frank C. Wimberly
140 Calle Ojo Feliz,
Santa Fe, NM 87505

505 670-9918
Santa Fe, NM

On Thu, Jul 23, 2020, 3:58 PM uǝlƃ ↙↙↙ <gepropella at gmail.com> wrote:

> No, I don't. What's the difference?
>
> On 7/23/20 2:46 PM, Frank Wimberly wrote:
> > OK.  As long as you grok the difference between the mathematical concept
> and the OO concept.
>
> --
> ↙↙↙ uǝlƃ
>
> - .... . -..-. . -. -.. -..-. .. ... -..-. .... . .-. .
> FRIAM Applied Complexity Group listserv
> Zoom Fridays 9:30a-12p Mtn GMT-6  bit.ly/virtualfriam
> un/subscribe http://redfish.com/mailman/listinfo/friam_redfish.com
> archives: http://friam.471366.n2.nabble.com/
> FRIAM-COMIC <http://friam.471366.n2.nabble.com/FRIAM-COMIC>
> http://friam-comic.blogspot.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://redfish.com/pipermail/friam_redfish.com/attachments/20200723/4bcd6caa/attachment.html>


More information about the Friam mailing list