MASON-INTEREST-L Archives

October 2015

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Thu, 1 Oct 2015 12:20:14 -0400
MIME-version:
1.0 (Mac OS X Mail 7.3 \(1878.6\))
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Content-type:
text/plain; charset=windows-1252
Subject:
From:
Sean Luke <[log in to unmask]>
In-Reply-To:
Message-ID:
Content-Transfer-Encoding:
8bit
Parts/Attachments:
text/plain (16 lines)
Do you think the dot should be at the center of the cell?  That is, a maximum-length line would be half the width of the cell?  Or should the center of the cell be the center of the line?

If speed is at issue, a small orthogonal line, like a T, would be a bit faster than a dot; might do that.

Sean

I also note from below that your class is basically a replacement for OrientedPortrayal2D: it can be used (and from the picture, appears to be used) in ContinuousPortrayal2D, for example.

On Oct 1, 2015, at 12:13 PM, Christian Meyer <[log in to unmask]> wrote:

> You are right about Oriented2D and Scaled2D, they should not be
> implemented by Double2D. I am just using a line with a dot at the end to portray the directions without any transformations. That is quite a different approach which might not fit well into VectorPortrayal2D because it uses its own shape.
> 
> I attached my class and how the direction vectors look like.
> Christian

ATOM RSS1 RSS2