Preview

GXY: Constructive Geometry  samples.geometry.constructive.gxy.MainPanel

This sample allows performing convex hull operation and constructive geometry operations on interactively created shapes.

Instructions

To apply convex hull and constructive geometry operations to a shape you created and edited:

  • Click one of the new shape buttons in the toolbar and click on the map to create a new shape.
  • Edit a shape in the user layer by dragging one of its points or segments
  • Calculate the convex hull of a shape by selecting one shape, right clicking and choosing Convex Hull from the menu
  • Calculate a boolean operation of two shapes by selecting two shapes, right clicking and choosing Intersection, Union, Difference, Inverted Difference or Symmetric Difference from the menu

   


Preview

Lightspeed: Constructive Geometry  samples.geometry.constructive.lightspeed.MainPanel

This sample allows performing convex hull operation and constructive geometry operations on interactively created shapes.

Instructions

To apply convex hull and constructive geometry operations to a shape you created and edited:

  • Click one of the new shape buttons in the toolbar and click on the map to create a new shape.
  • Edit a shape in the user layer by dragging one of its points or segments
  • Calculate the convex hull of a shape by selecting one shape, right clicking and choosing Convex Hull from the menu
  • Calculate a boolean operation of two shapes by selecting two shapes, right clicking and choosing Intersection, Union, Difference, Inverted Difference or Symmetric Difference from the menu

   


Preview

Ellipsoidal Geometry  samples.geometry.topology.ellipsoidal.MainPanel

This applet demonstrates several topological relations provided by the rigorous geometry package. The relations can be checked between US states and geodetic flight trajectories. It's possible to select an object. All other objects are then color-coded according to their relationship with the selected object. Not all possible relations supported by the package are shown and if multiple relations hold true only one is shown, otherwise too much different colors would be needed.

Instructions

States and flight trajectories are shown in gray by default. Use the selection tool to select a state or a flight trajectory. All other objects that interact with the selected object in some way are then drawn in another color. The color codes are:

  • White: Disjoint with selected object
  • Green: Selected object
  • Yellow: Crosses selected object
  • Red: Touches selected object
  • Blue: Contains or within selected object.
  • Cyan: Intersects the selected object in any other way. This color is overridden by crosses, touches, contains or within if one of those is true.

   


Preview

Interactive  samples.geometry.topology.interactive.MainPanel

This applet allows creating shapes using toolbar buttons and editing them. Selecting two shapes displays their topology relations.

Instructions

To analyze the topology relations between two shapes you created and edited:

  • Click one of the new shape buttons in the toolbar and click on the map to create a new shape.
  • Edit a shape in the user layer by dragging one of its points or segments
  • Calculate the topology relations of two shapes by selecting these two shapes