메소드 | 설명 | |
---|---|---|
Contains ( Geometry sourceGeometry, Geometry otherGeometry ) : bool |
Returns true if otherGeometry is wholly contained within the source geometry. This is the same as reversing the primary and comparison shapes of the Within operation.
|
|
Crosses ( Geometry g1, Geometry g2 ) : bool |
Returns true if the intersection of the two geometries results in a geometry whose dimension is less than the maximum dimension of the two geometries and the intersection geometry is not equal to either. geometry.
|
|
Disjoint ( Geometry g1, Geometry g2 ) : bool |
Returns true if otherGeometry is disjoint from the source geometry.
|
|
Equals ( Geometry g1, Geometry g2 ) : bool |
Returns true if otherGeometry is of the same type and defines the same point set as the source geometry.
|
|
Intersects ( Geometry g1, Geometry g2 ) : bool |
Returns true if there is any intersection between the two geometries.
|
|
Overlaps ( Geometry g1, Geometry g2 ) : bool |
Returns true if the intersection of the two geometries results in an object of the same dimension as the input geometries and the intersection geometry is not equal to either geometry.
|
|
Touches ( Geometry g1, Geometry g2 ) : bool |
Returns true if the only points in common between the two geometries lie in the union of their boundaries.
|
|
Within ( Geometry g1, Geometry g2 ) : bool |
Returns true if the primary geometry is wholly contained within the comparison geometry.
|
public static Contains ( Geometry sourceGeometry, Geometry otherGeometry ) : bool | ||
sourceGeometry | Geometry | |
otherGeometry | Geometry | |
리턴 | bool |
public static Crosses ( Geometry g1, Geometry g2 ) : bool | ||
g1 | Geometry | |
g2 | Geometry | |
리턴 | bool |
public static Disjoint ( Geometry g1, Geometry g2 ) : bool | ||
g1 | Geometry | |
g2 | Geometry | |
리턴 | bool |
public static Equals ( Geometry g1, Geometry g2 ) : bool | ||
g1 | Geometry | source geometry |
g2 | Geometry | other Geometry |
리턴 | bool |
public static Intersects ( Geometry g1, Geometry g2 ) : bool | ||
g1 | Geometry | |
g2 | Geometry | |
리턴 | bool |
public static Overlaps ( Geometry g1, Geometry g2 ) : bool | ||
g1 | Geometry | |
g2 | Geometry | |
리턴 | bool |
public static Touches ( Geometry g1, Geometry g2 ) : bool | ||
g1 | Geometry | |
g2 | Geometry | |
리턴 | bool |
public static Within ( Geometry g1, Geometry g2 ) : bool | ||
g1 | Geometry | |
g2 | Geometry | |
리턴 | bool |