DK11 for Delphi | GisTopology.TGIS_Topology.Equality | Constructors | Methods | Properties | Events
Tests equality relationship for given shapes
// Delphi public function Equality( const _shpA : TGIS_Shape; const _shpB : TGIS_Shape ) : Boolean;
// C++ Builder public: bool Equality( TGIS_Shape* const _shpA, TGIS_Shape* const _shpB );
Name | Type | Description |
---|---|---|
_shpA | TGIS_Shape | given shape |
_shpB | TGIS_Shape | second given shape |
Type | Description |
---|---|
Boolean | returns true if shapes are equal |
tpl := TGIS_Topology.Create ; try res := tpl.Equality( shp_a, shp_b ) ; finally tpl.Free ; end ; // or simpler: res := shp_a.Equality( shp_b ) ;