@Api(allMethods=true) public class SnappingRuleInfo extends Object implements IsInfo
| Modifier and Type | Class and Description |
|---|---|
static class |
SnappingRuleInfo.SnappingType
Snapping type.
|
| Constructor and Description |
|---|
SnappingRuleInfo()
Create snapping rule.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDistance()
Get distance, the size of the raster which needs to be snapped to.
|
String |
getLayerId()
Get the id of the layer this snapping info applies to.
|
SnappingRuleInfo.SnappingType |
getType()
Get snapping type.
|
void |
setDistance(double distance)
Set the snapping distance of granularity.
|
void |
setLayerId(String layerId)
Set the id of the layer this snapping info applies to.
|
void |
setType(SnappingRuleInfo.SnappingType type)
Set the snapping type.
|
public double getDistance()
public void setDistance(double distance)
distance - snapping distance or granularitypublic SnappingRuleInfo.SnappingType getType()
public void setType(SnappingRuleInfo.SnappingType type)
type - snapping typepublic String getLayerId()
public void setLayerId(String layerId)
layerId - layer idCopyright © 2015 Geosparc. All Rights Reserved.