Class TLspArcBy3PointsEditor

java.lang.Object
com.luciad.view.lightspeed.editor.ALspEditor
com.luciad.view.lightspeed.editor.TLspArcBy3PointsEditor
All Implemented Interfaces:
ILspEditor

public class TLspArcBy3PointsEditor extends ALspEditor
Enables visual editing of ILcd2DEditableCircularArcBy3Points objects in an ILspView.

Handles

The arc-by-3-points editor defines the following edit handles for an arc object:
  • Start point handle: allows the user to edit the start point of the arc. The user can change the position of the start point by dragging the handle. This handle generates MOVE operations, with a HANDLE_IDENTIFIER property with START_POINT as value.
  • Intermediate point handle: allows the user to edit the intermediate point of the arc. The user can change the position of the start point by dragging the handle. This handle generates MOVE operations, with a HANDLE_IDENTIFIER property with INTERMEDIATE_POINT as value.
  • End point handle: allows the user to edit the end point of the arc. The user can change the position of the start point by dragging the handle. This handle generates MOVE operations, with a HANDLE_IDENTIFIER property with END_POINT as value.
  • Center point handle: allows the user to translate the center of the arc. The user can change the position of the center point by dragging the handle. This handle generates MOVE operations, with a HANDLE_IDENTIFIER property with CENTER_POINT as value.
  • Object translation handle: allows the user to translate the arc. This handle generates MOVE operations, without any additional properties.

The following figure illustrates all the handles:

Edit handles for arc-by-3-points objects.

Editing

Based on the TLspEditOperation, generated by an edit handle (see description of handles above), this editor performs different edit operations on the associated arc object. The images below illustrate the effect of the different handles. In each image the gray color represents the previous state of the object and the red color represents the edited object:
  • Arc point handles: the editor adjusts the arc-by-3-points based on the new location of the arc point. The figure below illustrates this behaviour when the start point of the arc is moved (indicated by the black arrow).

    Moving an arc point handle.
  • Center point handle: the editor translates the entire arc. The figure below illustrates this behaviour.

    Moving the center point handle.
  • Object translation handle: the editor translates the entire arc. Note that the behaviour for this handle is identical to the behaviour of the center point handle, with the exception of how the handle is activated

Creation

The creation process of an arc-by-3-points object consists of the following steps:
  1. the first step sets the start point of the arc-by-3-points
  2. the second step sets the end point of the arc-by-3-points
  3. the third step sets the intermediate point of the arc-by-3-points

The figures below illustrate the creation process. Relevant changes that are new in each step are marked in red:

Setting the start point.
Setting the end point.
Setting the intermediate point.
Setting the start point Setting the end point Setting the intermediate point
Since:
2012.0