Class TLspArcByBulgeEditor

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

public class TLspArcByBulgeEditor extends ALspEditor
Enables visual editing of ILcd2DEditableCircularArcByBulge objects in an ILspView.

Handles

The arc-by-bulge editor defines the following edit handles for an arc object:
  • Start and endpoint handles: allows the user to edit the start and end point of the arc. The user can change the position of these points by dragging the handle. These handles generate MOVE operations, with a HANDLE_IDENTIFIER property and START_POINT or END_POINT as value.
  • Bulge point handle: allows the user to change the bulge factor of the arc-by-bulge. The user can change the position of the bulge factor by dragging the handle. This handle generates MOVE operations, with a HANDLE_IDENTIFIER property and BULGE_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 as value.
  • Object translation handle: allows the user to translate the arc object. This handle generates MOVE operations, without any additional properties.

The following image clarifies the handle locations: the point and center handles are represented by red dots, the green outline indicates the object itself which can be used to activate the object translation handle.

The handles of an arc-by-bulge

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:
  • Start or end point handle:

    Moving the start point of the arc-by-bulge.
    NOTE: the end point handle is not illustrated in these images, but its functionality is similar to the start point handle.
  • Bulge point handle:

    Editing the bulge factor of the arc-by-bulge.
  • Center point handle:

    Translating the arc-by-bulge via 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-bulge object consists of the following steps:
  1. the first step sets the start point of the arc-by-bulge
  2. the second step sets the end point of the arc-by-bulge
  3. the third step initializes the bulge factor of the arc-by-bulge

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
Initializing the bulge factor
Setting the start point Setting the end point Initializing the bulge factor
Since:
2012.0
  • Constructor Details

    • TLspArcByBulgeEditor

      public TLspArcByBulgeEditor()
      Creates a new TLspArcByBulgeEditor. This constructor does not initialize any state.
  • Method Details