nl.tudelft.simulation.dsol.animation
Class StaticLocation
java.lang.Object
javax.vecmath.Tuple3d
javax.vecmath.Point3d
nl.tudelft.simulation.language.d3.CartesianPoint
nl.tudelft.simulation.language.d3.DirectedPoint
nl.tudelft.simulation.dsol.animation.StaticLocation
- All Implemented Interfaces:
- Serializable, Cloneable, LocatableInterface
public class StaticLocation
- extends DirectedPoint
- implements LocatableInterface
A StaticLocation
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
- Version:
- $Revision: 1.1 $ $Date: 2007/01/06 13:21:29 $
- Author:
- Peter Jacobs
- See Also:
- Serialized Form
Fields inherited from class javax.vecmath.Tuple3d |
x, y, z |
Methods inherited from class nl.tudelft.simulation.language.d3.DirectedPoint |
clone, equals, equals, getRotX, getRotY, getRotZ, hashCode, setRotX, setRotY, setRotZ, toString |
Methods inherited from class javax.vecmath.Tuple3d |
absolute, absolute, add, add, clamp, clamp, clamp, clamp, clampMax, clampMax, clampMax, clampMax, clampMin, clampMin, clampMin, clampMin, epsilonEquals, get, get, getX, getY, getZ, interpolate, interpolate, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, scaleAdd, scaleAdd, set, set, set, set, setX, setY, setZ, sub, sub |
bounds
protected Bounds bounds
- the bounds
StaticLocation
public StaticLocation(double x,
double y,
double z,
double theta,
double phi,
double rho,
Bounds bounds)
- constructs a new StaticLocation
- Parameters:
x
- the x locationy
- the y locationz
- the z locationtheta
- thetaphi
- phirho
- rhobounds
- the bounds
StaticLocation
public StaticLocation(Point2D point2D,
double rotZ,
Bounds bounds)
- constructs a new StaticLocation
- Parameters:
point2D
- the point2drotZ
- the rotation in the xy planebounds
- the bounds
StaticLocation
public StaticLocation(DirectedPoint location,
Bounds bounds)
- constructs a new StaticLocation
- Parameters:
location
- the locationbounds
- the bounds
getLocation
public DirectedPoint getLocation()
- Description copied from interface:
LocatableInterface
- returns the location of an object
- Specified by:
getLocation
in interface LocatableInterface
- Returns:
- DirectedPoint the location
- See Also:
#getLocation()
getBounds
public Bounds getBounds()
- Description copied from interface:
LocatableInterface
- returns the bounds of the locatable object. The bounds is the not rotated
bounds around [0;0;0]
- Specified by:
getBounds
in interface LocatableInterface
- Returns:
- BoundingBox include this.getLocation() as center of the box..
- See Also:
#getBounds()
Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.