SpatialEdmFunctions.SpatialRelate Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Cria um DbFunctionExpression que invoca a função canónica 'SpatialRelate' com os argumentos especificados, que devem ter Edm.Geometry e tipos de resultados de string. O tipo de resultado da expressão é Edm.Boolean.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ SpatialRelate(System::Data::Common::CommandTrees::DbExpression ^ geometryValue1, System::Data::Common::CommandTrees::DbExpression ^ geometryValue2, System::Data::Common::CommandTrees::DbExpression ^ intersectionPatternMatrix);
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialRelate(this System.Data.Common.CommandTrees.DbExpression geometryValue1, System.Data.Common.CommandTrees.DbExpression geometryValue2, System.Data.Common.CommandTrees.DbExpression intersectionPatternMatrix);
static member SpatialRelate : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialRelate (geometryValue1 As DbExpression, geometryValue2 As DbExpression, intersectionPatternMatrix As DbExpression) As DbFunctionExpression
Parâmetros
- geometryValue1
- DbExpression
Uma expressão que especifica o primeiro valor geométrico.
- geometryValue2
- DbExpression
Uma expressão que especifica o valor geométrico que deve ser comparado com geometryValue1.
- intersectionPatternMatrix
- DbExpression
Uma expressão que especifica a representação textual do padrão de interseção Dimensionally Extended Nine-Intersection Model (DE-9IM) usado para comparar geometryValue1 e geometryValue2.
Devoluções
Uma nova DbFunctionExpression que devolve um valor booleano indicando se geometryValue1 está espacialmente relacionada com geometryValue2 de acordo com a relação espacial designada por intersectionPatternMatrix.
Exceções
geometryValue1
geometryValue2
intersectionPatternMatrix
geometryValue1
geometryValue2
intersectionPatternMatrix