Modifier and Type | Method and Description |
---|---|
static TLcdRoundedPolygon |
round(ILcdModelReference aModelReference,
ILcdPolygon aPolygon,
double aRoundnessFactor)
Use this method to create a rounded version of a
ILcdPolygon . |
static TLcdRoundedPolyline |
round(ILcdModelReference aModelReference,
ILcdPolyline aPolyline,
double aRoundnessFactor)
Use this method to create a rounded version of a
ILcdPolyline . |
public static TLcdRoundedPolyline round(ILcdModelReference aModelReference, ILcdPolyline aPolyline, double aRoundnessFactor)
Use this method to create a rounded version of a ILcdPolyline
.
This method creates a TLcdRoundedPolyline
using the points contained in the given ILcdPolyline
as control points.
aModelReference
- The coordinate reference of the points
in the given ILcdPolyline
.
This ILcdModelReference
must not be null
.
The rounding expects a geodetic polyline for geodetic references, and a linear polyline for other references.aPolyline
- The ILcdPolyline
whose points will be used as control points when creating the resulting TLcdRoundedPolyline
.
Modifying the ILcdPolyline
will modify TLcdRoundedPolyline
after calling TLcdRoundedPolyline.invalidateObject()
.
This ILcdPolyline
must not be null
.aRoundnessFactor
- A number in the range [0.0, 1.0] indicating the roundness of the resulting curve. aPolyline
). TLcdRoundedPolyline
that is a rounded version of the given ILcdPolyline
.TLcdRoundedPolyline
public static TLcdRoundedPolygon round(ILcdModelReference aModelReference, ILcdPolygon aPolygon, double aRoundnessFactor)
Use this method to create a rounded version of a ILcdPolygon
.
This method creates a TLcdRoundedPolygon
using the points contained in the given ILcdPolygon
as control points.
aModelReference
- The coordinate reference of the points
in the given ILcdPolygon
.
This ILcdModelReference
must not be null
.
The rounding expects a geodetic polyline for geodetic references, and a linear polyline for other references.aPolygon
- The ILcdPolygon
whose points will be used as control points when creating the resulting TLcdRoundedPolygon
.
Modifying the ILcdPolygon
will modify the TLcdRoundedPolyline
after calling TLcdRoundedPolygon.invalidateObject()
.
This ILcdPolygon
must not be null
.aRoundnessFactor
- A number in the range [0.0, 1.0] indicating the roundness of the resulting curve. aPolygon
). TLcdRoundedPolygon
that is a rounded version of the given ILcdPolygon
.TLcdRoundedPolygon