Revision 712 org.gvsig.topology/trunk/org.gvsig.topology/org.gvsig.topology.lib/org.gvsig.topology.lib.impl/src/main/java/org/gvsig/topology/rule/ContainsPointRuleFactory.java
ContainsPointRuleFactory.java | ||
---|---|---|
35 | 35 |
*/ |
36 | 36 |
public class ContainsPointRuleFactory extends AbstractTopologyRuleFactory { |
37 | 37 |
|
38 |
public static final String NAME = "ContainsPoint"; |
|
39 |
|
|
38 | 40 |
public ContainsPointRuleFactory() { |
39 | 41 |
super( |
40 |
"ContainsPoint",
|
|
42 |
NAME,
|
|
41 | 43 |
"Contains Point", |
42 | 44 |
"Requires that a polygon in one dataset contain at least one point from another dataset. Points must be within the polygon, not on the boundary. ", |
43 | 45 |
new ListBuilder<Integer>() |
44 | 46 |
.add(Geometry.TYPES.SURFACE) |
45 | 47 |
.add(Geometry.TYPES.MULTISURFACE) |
46 | 48 |
.asList(), |
47 |
Geometry.TYPES.POINT |
|
49 |
new ListBuilder<Integer>() |
|
50 |
.add(Geometry.TYPES.POINT) |
|
51 |
.asList() |
|
48 | 52 |
); |
49 | 53 |
} |
50 | 54 |
|
Also available in: Unified diff