Package org.djutils.draw
Class Space2d
- java.lang.Object
 - 
- org.djutils.draw.Space2d
 
 
- 
- All Implemented Interfaces:
 Serializable,Space
public class Space2d extends Object implements Space
Space2d interface to show that the number of dimensions for the drawable objects is 2.Copyright (c) 2020-2021 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.- Author:
 - Alexander Verbraeck, Peter Knoppers
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description Space2d() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDimensions()Return the number of dimensions. 
 - 
 
- 
- 
Method Detail
- 
getDimensions
public int getDimensions()
Return the number of dimensions.- Specified by:
 getDimensionsin interfaceSpace- Returns:
 - int; the number of dimensions
 
 
 - 
 
 -