<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://techbase.kde.org/skins/common/feed.css?0.2"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://techbase.kde.org/index.php?title=Projects/Marble/GeoPainter&amp;feed=atom&amp;action=history</id>
		<title>Projects/Marble/GeoPainter - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://techbase.kde.org/index.php?title=Projects/Marble/GeoPainter&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Projects/Marble/GeoPainter&amp;action=history"/>
		<updated>2013-05-20T02:08:47Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>http://techbase.kde.org/index.php?title=Projects/Marble/GeoPainter&amp;diff=69144&amp;oldid=prev</id>
		<title>Tgridel: Created page with &quot;= Notes about GeoPainter =  == Concepts == Horizon is a spherical projection concept to decide if a point is on the viewer's side or the other.     It is NOT dependent on viewpor...&quot;</title>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Projects/Marble/GeoPainter&amp;diff=69144&amp;oldid=prev"/>
				<updated>2012-03-01T21:56:09Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Notes about GeoPainter =  == Concepts == Horizon is a spherical projection concept to decide if a point is on the viewer&amp;#039;s side or the other.     It is NOT dependent on viewpor...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Notes about GeoPainter =&lt;br /&gt;
&lt;br /&gt;
== Concepts ==&lt;br /&gt;
Horizon is a spherical projection concept to decide if a point is on the viewer's side or the other.&lt;br /&gt;
    It is NOT dependent on viewport visibility&lt;br /&gt;
&lt;br /&gt;
Dateline is a repeatX issue, so that a line crossing the dateline does not lead to a tear the whole map wide&lt;br /&gt;
&lt;br /&gt;
Pole is an issue for projections which cannot draw it as a point (or even not at all)&lt;br /&gt;
&lt;br /&gt;
Projection Drawing depends on tessellation&lt;br /&gt;
Tessellation is a geodetic issue, determining how to connect points. Options:&lt;br /&gt;
        NoTessellation: straight screen coordinates lines between projected points&lt;br /&gt;
        Tessellate: great circle line between projected points&lt;br /&gt;
                    needs horizon and dateline check&lt;br /&gt;
        FollowLatitude: special case when latitude is same, walk on the latitude circle&lt;br /&gt;
&lt;br /&gt;
        do we need rhumb line (line of constant compass course)??&lt;br /&gt;
&lt;br /&gt;
Need to keep in mind that tessellating must keep polygons that still allow fill.&lt;br /&gt;
&lt;br /&gt;
== Current code ==&lt;br /&gt;
- systematically looks for poles and datelines, splitting the polyline into ones which don't cross idl or pole&lt;br /&gt;
&lt;br /&gt;
- looking for datelines is a recursive calculus to identify latitude at which the idl is crossed&lt;br /&gt;
&lt;br /&gt;
- iterates all points, determines&lt;br /&gt;
        - if horizon is crossed&lt;br /&gt;
        - if and which tessellation is needed&lt;br /&gt;
        - adds points to one QVector&amp;lt;QPointF&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Complications ==&lt;br /&gt;
- looking for dateline is not necessary for Spherical, very hard for NoTessellation (screen vs Geo space)&lt;br /&gt;
&lt;br /&gt;
- because of repeatX we calculate all possible points depending on viewport radius, then let painter frame down to visible viewport&lt;/div&gt;</summary>
		<author><name>Tgridel</name></author>	</entry>

	</feed>