Package org.geotools.grid.ortholine
Class OrthoLineDef
- Object
- 
- OrthoLineDef
 
- 
 public class OrthoLineDef extends Object Defines how to generate a set of regularly-spaced, ortho-line elements with given orientation and level.- Since:
- 8.0
- Author:
- mbedward
 
- 
- 
Constructor SummaryConstructors Constructor Description OrthoLineDef(LineOrientation orientation, int level, double spacing)Creates a new ortho-line definition.OrthoLineDef(OrthoLineDef lineDef)Creates a copy of an existing line definition.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLevel()Gets the integer level (line precedence).LineOrientationgetOrientation()Gets the orientation.doublegetSpacing()Gets the spacing between lines.
 
- 
- 
- 
Constructor Detail- 
OrthoLineDefpublic OrthoLineDef(LineOrientation orientation, int level, double spacing) Creates a new ortho-line definition.- Parameters:
- orientation- line orientation
- level- an integer level (user-defined values) indicating line precedence
- spacing- the spacing between lines in world distance units
 
 - 
OrthoLineDefpublic OrthoLineDef(OrthoLineDef lineDef) Creates a copy of an existing line definition.- Parameters:
- lineDef- the definition to copy
- Throws:
- IllegalArgumentException- if- lineDefis- null
 
 
- 
 - 
Method Detail- 
getLevelpublic int getLevel() Gets the integer level (line precedence).- Returns:
- the level
 
 - 
getOrientationpublic LineOrientation getOrientation() Gets the orientation.- Returns:
- orientation
 
 - 
getSpacingpublic double getSpacing() Gets the spacing between lines.- Returns:
- line spacing
 
 
- 
 
-