|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.rendering.IlvDefaultCurveRenderer
ilog.views.maps.rendering.IlvMapCurveRenderer
public class IlvMapCurveRenderer
IlvMapCurveRenderer is a curve renderer that renders
stylable IlvGraphic objects, that is, objects that implement
the IlvMapGraphic interface.
This renderer is able to perform geodetic computation using the
IlvGeodeticPathComputation class.
| Constructor Summary | |
|---|---|
IlvMapCurveRenderer(boolean useGeodeticComputation)
Creates a new IlvMapCurveRenderer instance. |
|
IlvMapCurveRenderer(IlvInputStream stream)
Reads this renderer from an IlvInputStream. |
|
| Method Summary | |
|---|---|
static void |
setGeodeticInterpolationRendering(boolean geodeticInterpolationRendering)
Activates geodetic interpolation. |
void |
write(IlvOutputStream stream)
Writes the renderer to an IlvOutputStream. |
| Methods inherited from class ilog.views.maps.rendering.IlvDefaultCurveRenderer |
|---|
getLineRenderingStyle, isPersistent, isUsingGeneralPath, makeGraphic, setLineRenderingStyle, setUsingGeneralPath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvMapCurveRenderer(IlvInputStream stream)
throws IlvReadFileException
IlvInputStream.
stream - The stream to read from.
IlvReadFileException - if there is a problem reading from
streampublic IlvMapCurveRenderer(boolean useGeodeticComputation)
IlvMapCurveRenderer instance.
useGeodeticComputation - Set to true to use geodetic
computation.| Method Detail |
|---|
public static void setGeodeticInterpolationRendering(boolean geodeticInterpolationRendering)
When geodetic interpolation is activated, each segment of a curve is interpolated in many segments along an orthodromy between two points.
Note: geodetic interpolation can be activated only after geodetic computation was activated when the constructor was called.
geodeticInterpolationRendering - Set to true to activate
interpolation.
public void write(IlvOutputStream stream)
throws IOException
IlvOutputStream.
write in interface IlvPersistentObjectwrite in interface IlvFeatureRendererwrite in class IlvDefaultCurveRendererstream - the output stream
IOException - thrown when an exception occurs during
the write operation for this object.IlvDefaultCurveRenderer.write(ilog.views.io.IlvOutputStream)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||