Package org.djutils.draw.point
package org.djutils.draw.point
The djutils-draw point package provides a set of interfaces and implementations of Points.
Copyright (c) 2002-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://simulation.tudelft.nl/dsol/3.0/license.html.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
ClassDescriptionA DirectedPoint2d is a Point2d that additionally carries a direction in 2d-space (dirZ).A DirectedPoint3d is a point in 3d space that additionally carries a direction in 3d i.c. dirY (similar to tilt; measured as an angle from the positive z-direction) and dirZ (similar to pan; measured as an angle from the positive x-direction).A OrientedPoint3d is a point with an x, y, and z coordinate, plus a 3d orientation.Point is the interface for the Point2d and Point3d implementations, standardizing as many of the methods as possible.A Point2d is an immutable Point with an x and y coordinate, stored with double precision.A Point3d is an immutable point with an x, y, and z coordinate, stored with double precision.