com.supermap.realspace
Class Skyline
- java.lang.Object
-
- InternalHandleDisposable
-
- com.supermap.realspace.Skyline
-
public class Skyline extends InternalHandleDisposable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanbuild()voidclear()voiddispose()ColorgetColor()Returns the color of the skyline.doublegetDirection()doublegetPitch()doublegetRadius()Point3DgetViewerPosition()voidsetColor(Color color)Set the skyline color.voidsetDirection(double direction)voidsetPitch(double pitch)voidsetRadius(double value)voidsetViewerPosition(Point3D position)voidsetViewerVisible(boolean visible)
-
-
-
Constructor Detail
-
Skyline
public Skyline(Scene scene)
-
-
Method Detail
-
dispose
public void dispose()
-
getViewerPosition
public Point3D getViewerPosition()
-
setViewerPosition
public void setViewerPosition(Point3D position)
-
getDirection
public double getDirection()
-
setDirection
public void setDirection(double direction)
-
getPitch
public double getPitch()
-
setPitch
public void setPitch(double pitch)
-
build
public boolean build()
-
clear
public void clear()
-
setViewerVisible
public void setViewerVisible(boolean visible)
-
getRadius
public double getRadius()
-
setRadius
public void setRadius(double value)
-
getColor
public Color getColor()
Returns the color of the skyline.- Returns:
- color object.
-
setColor
public void setColor(Color color)
Set the skyline color.- Parameters:
color- object.
-
-