public interface ILcd3DEditablePointList extends ILcd2DEditablePointList
ILcd3DEditablePointList
is an ILcdPointList
in which points can be inserted, removed,
and moved in three dimensions.
Note that the points obtained through ILcdPointList.getPoint(int)
should not be cast to ILcd3DEditablePoint
, instead you should use move3DPoint(int, double, double, double)
or translate3DPoint(int, double, double, double)
.Modifier and Type | Method and Description |
---|---|
void |
insert3DPoint(int aIndex,
double aX,
double aY,
double aZ)
Inserts a point at the given index into this
ILcd3DEditablePointList . |
void |
move3DPoint(int aIndex,
double aX,
double aY,
double aZ)
Moves the specified point of this
ILcd3DEditablePointList to the given point in the 3D space. |
void |
removePointAt(int aIndex)
Removes the point at the given index from this
ILcd3DEditablePointList . |
void |
translate3D(double aDeltaX,
double aDeltaY,
double aDeltaZ)
Translates all the points of this
ILcd3DEditablePointList from their current positions
over the given translation vector in the 3D space. |
void |
translate3DPoint(int aIndex,
double aDeltaX,
double aDeltaY,
double aDeltaZ)
Translates the specified point of this
ILcd3DEditablePointList from its current position
over the given translation vector in the 3D space. |
append2DPoint, insert2DPoint, move2DPoint, translate2D, translate2DPoint
getPoint, getPointCount, getPointSFCT, getX, getY, getZ
void translate3D(double aDeltaX, double aDeltaY, double aDeltaZ)
ILcd3DEditablePointList
from their current positions
over the given translation vector in the 3D space.aDeltaX
- the x coordinate of the translation vector.aDeltaY
- the y coordinate of the translation vector.aDeltaZ
- the z coordinate of the translation vector.void move3DPoint(int aIndex, double aX, double aY, double aZ)
ILcd3DEditablePointList
to the given point in the 3D space.aIndex
- a valid index in the list of points.aX
- the x coordinate of the point.aY
- the y coordinate of the point.aZ
- the z coordinate of the point.void translate3DPoint(int aIndex, double aDeltaX, double aDeltaY, double aDeltaZ)
ILcd3DEditablePointList
from its current position
over the given translation vector in the 3D space.aIndex
- a valid new index in the list of points.aDeltaX
- the x coordinate of the translation vector.aDeltaY
- the y coordinate of the translation vector.aDeltaZ
- the z coordinate of the translation vector.void insert3DPoint(int aIndex, double aX, double aY, double aZ)
ILcd3DEditablePointList
.aIndex
- a valid new index in the list of points.aX
- the x coordinate of the new point.aY
- the y coordinate of the new point.aZ
- the z coordinate of the new point.void removePointAt(int aIndex)
ILcd3DEditablePointList
.removePointAt
in interface ILcd2DEditablePointList
aIndex
- a valid index in the list of ILcdPoint
objects.