2023.1.08

• ### Constructor Summary

Constructors
Constructor and Description
ALcd2DEditableShape()
• ### Method Summary

All Methods
Modifier and Type Method and Description
boolean contains3D(double aX, double aY, double aZ)
Provides an approximate default implementation of the 3D containment test based on the 2D containment test.
void move2D(double aX, double aY)
Translates this shape so that its focus point ends up at the specified position.
void move2D(ILcdPoint aPoint)
Moves this ILcd2DEditableShape to the given point in the 2D space.
• ### Methods inherited from interface com.luciad.shape.shape2D.ILcd2DEditableShape

translate2D
• ### Methods inherited from interface com.luciad.shape.ILcdBounded

getBounds

clone
• ### Constructor Detail

• #### ALcd2DEditableShape

public ALcd2DEditableShape()
• ### Method Detail

• #### move2D

public void move2D(ILcdPoint aPoint)
Description copied from interface: ILcd2DEditableShape
Moves this ILcd2DEditableShape to the given point in the 2D space. The focus point is used as the handle by which the shape is moved. Only the first two dimensions of the ILcdShape and the ILcdPoint are considered. The third dimension is left unchanged.
Specified by:
move2D in interface ILcd2DEditableShape
Parameters:
aPoint - the ILcdPoint to move to.
ILcd2DEditableShape.move2D(double, double)
• #### move2D

public void move2D(double aX,
double aY)
Translates this shape so that its focus point ends up at the specified position.
Specified by:
move2D in interface ILcd2DEditableShape
Parameters:
aX - the x coordinate of the point.
aY - the y coordinate of the point.
• #### contains3D

public boolean contains3D(double aX,
double aY,
double aZ)
Provides an approximate default implementation of the 3D containment test based on the 2D containment test.
Specified by:
contains3D in interface ILcdShape
Parameters:
aX - the x coordinate of the point.
aY - the y coordinate of the point.
aZ - the z coordinate of the point.
Returns:
true if the bounds of this shape contain the point in the 3D space and the shape itself contains the point in the 2D space, false otherwise.