Arcengine to judge geometry intersection by Irelationaloperator.relation

Source: Internet
Author: User

Irelationaloperator Interface:

1. Provides access to members that determine if a certain spatial relationship exists between.

Members Description
Contains Indicates if this geometry contains the other geometry.
Whether the former contains the latter!
Crosses Indicates if the geometries intersect in a geometry of lesser dimension.
Disjoint Indicates if the geometries share no points in common. Negate This result to compute the Intersect relation.
Equals Indicates if the geometries is of the same type and define the same set of points in the plane.
Overlaps Indicates if the intersection of the geometries has the same dimension as one of the input geometries.
Whether there is overlap between the former and the latter! Include relationships are not included!
Relation Indicates if the defined relationship exists.
Touches Indicates if the boundaries of the geometries intersect.
Within Indicates if this geometry are contained (is within) another geometry.
Whether the former is inside the latter!
  

There is no way to judge the intersection of geometry here.

Using relation to achieve intersects:relate (G1, G2, ' t******** ')

1 string " RELATE (G1, G2, ' t******** ') " ; 2  as irelationaloperator). Relation (ele. Geometry, relationdescription); 3 if (isintersects) 4 {5 selectedcount++; 6 pgraphicscontainerselect.selectelement (ele); 7 }

Arcengine to determine the intersection of geometry by irelationaloperator.relation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.