
**Summary:** A [IMultiPoint](/psd/python-net/aspose.gis.geometries/imultipoint/) is a one-dimensional [IGeometryCollection](/psd/python-net/aspose.gis.geometries/igeometrycollection/) <br/>            whose elements are [IPoint](/psd/python-net/aspose.gis.geometries/ipoint/)s.

**Module:** [aspose.gis.geometries](/psd/python-net/aspose.gis.geometries/)

**Full Name:** aspose.gis.geometries.IMultiPoint

**Inheritance:** IGeometryCollection, IGeometry

**Aspose.PSD Version:** 25.9.0

## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| count | int | r | Gets the number of geometries in this collection. |
| dimension | [GeometryDimension](/psd/python-net/aspose.gis.geometries/geometrydimension) | r | Gets the topological dimension of this [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry/).<br/>            If the dimension is unknown (e.g. for an empty GEOMETRYCOLLECTION) [GeometryDimension.POINT](/psd/python-net/aspose.gis.geometries/geometrydimension/) is returned. |
| geometry_type | [GeometryType](/psd/python-net/aspose.gis.geometries/geometrytype) | r | Gets the type of the geometry. |
| has_curve_geometry | bool | r | Gets a value indicating whether this geometry is or contains curve (not linear) geometry. |
| has_m | bool | r | Gets a value indicating whether this instance has M coordinate. |
| has_z | bool | r | Gets a value indicating whether this instance has Z coordinate. |
| is_empty | bool | r | Gets a value indicating whether this instance is empty (represents the empty point set). |
| is_simple | bool | r | Gets a value indicating whether this instance is simple from SFA point of view. |
| is_valid | bool | r | Gets a value indicating whether this instance is valid. |
| spatial_reference_system | [SpatialReferenceSystem](/psd/python-net/aspose.gis.spatialreferencing/spatialreferencesystem/) | r | Gets SpatialReferenceSystem of this instance.<br/>            This property can be <see langword="null" />, if SpatialReferenceSystem is unknown. |
## **Methods**
| **Name** | **Description** |
| :- | :- |
| [as_binary()](#as_binary__1) | Translates this geometry to its Well-Known Binary representation. |
| [as_binary(variant)](#as_binary_variant_2) | Translates this geometry to its Well-Known Binary representation. |
| [as_image(output_path, width, height, renderer, symbolizer)](#as_image_output_path_width_height_renderer_symbolizer_3) | Export this geometry to an image representation. |
| [as_image(output_path, width, height, renderer, symbolizer)](#as_image_output_path_width_height_renderer_symbolizer_4) | Export this geometry to an image representation. |
| [as_image(width, height, renderer, symbolizer)](#as_image_width_height_renderer_symbolizer_5) | Export this geometry to an image representation. |
| [as_text()](#as_text__6) | Translates this geometry to its Well-Known Text representation. |
| [as_text(variant)](#as_text_variant_7) | Translates this geometry to its Well-Known Text representation. |
| [as_text(variant, format)](#as_text_variant_format_8) | Translates this geometry to its Well-Known Text representation. |
| [clone()](#clone__9) | Clones this instance. |
| [covered_by(other)](#covered_by_other_10) | Determines whether this geometry is covered by a specified geometry. |
| [covers(other)](#covers_other_11) | Determines whether this geometry covers a specified geometry. |
| [crosses(other)](#crosses_other_12) | Determines if this geometry and a specified geometry cross. |
| [difference(other)](#difference_other_13) | Subtracts a specified geometry from this geometry. |
| [disjoint(other)](#disjoint_other_14) | Determines if this geometry is disjoint from a specified geometry. |
| [get_area()](#get_area__15) | Computes the area of this geometry. |
| [get_buffer(distance, quadrant_segments)](#get_buffer_distance_quadrant_segments_16) | Computes a buffer region around this geometry. |
| [get_centroid()](#get_centroid__17) | Computes the centroid of this geometry. |
| [get_convex_hull()](#get_convex_hull__18) | Computes the convex hull of this geometry. |
| [get_distance_to(other)](#get_distance_to_other_19) | Computes the minimum distance between this geometry and a specified geometry. |
| [get_extent()](#get_extent__20) | Computes and returns a bounding extent of this geometry. |
| [get_length()](#get_length__21) | Computes the length of this geometry. |
| [get_point_on_surface()](#get_point_on_surface__22) | Finds a point that is guaranteed to be on one of the surfaces in this collection. |
| [intersection(other)](#intersection_other_23) | Builds an intersection between this geometry and a specified geometry. |
| [intersects(extent)](#intersects_extent_24) | Determines whether this geometry intersects a specified extent. |
| [intersects(other)](#intersects_other_25) | Determines if this geometry and a specified geometry intersects. |
| [overlaps(other)](#overlaps_other_26) | Determines whether this geometry overlap with a specified geometry. |
| [relate(other, intersection_pattern_matrix)](#relate_other_intersection_pattern_matrix_27) | Determines if DE-9IM intersection matrix of this geometry and a specified geometry matches provided pattern. |
| [replace_polygons_by_lines()](#replace_polygons_by_lines__28) | Gets polygons represented as lines of this geometry. |
| [spatially_contains(other)](#spatially_contains_other_29) | Determines whether this geometry spatially contains a specified geometry. |
| [spatially_equals(other)](#spatially_equals_other_30) | Determines if this geometry spatially equal to a specified geometry. |
| [sym_difference(other)](#sym_difference_other_31) | Builds a symmetric difference between this geometry and a specified geometry. |
| [to_editable()](#to_editable__32) | Gets an editable copy of this geometry. |
| [to_linear_geometry()](#to_linear_geometry__33) | Gets approximate or equivalent non-curve version of this geometry using the default <c>tolerance</c>. |
| [to_linear_geometry(tolerance)](#to_linear_geometry_tolerance_34) | Gets approximate or equivalent non-curve version of this geometry using the specified <c>tolerance</c>. |
| [touches(other)](#touches_other_35) | Determines if this geometry and a specified geometry touch. |
| [union(other)](#union_other_36) | Unites this geometry and a specified geometry. |
| [union(other)](#union_other_37) | Unites this geometry and a specified geometry. |
| [within(extent)](#within_extent_38) | Determines whether this geometry is within a specified extent. |
| [within(other)](#within_other_39) | Determines whether this geometry is within a specified geometry. |


### Method: as_binary() {#as_binary__1}


```
 as_binary() 
```

Translates this geometry to its Well-Known Binary representation.

**Returns**

| Type | Description |
| :- | :- |
| byte | Well-Known Binary representation of this geometry. |


### Method: as_binary(variant) {#as_binary_variant_2}


```
 as_binary(variant) 
```

Translates this geometry to its Well-Known Binary representation.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| variant | [WkbVariant](/psd/python-net/aspose.gis.geometries/wkbvariant) | Well-Known Binary variant to use. |

**Returns**

| Type | Description |
| :- | :- |
| byte | Well-Known Binary representation of this geometry. |


### Method: as_image(output_path, width, height, renderer, symbolizer) {#as_image_output_path_width_height_renderer_symbolizer_3}


```
 as_image(output_path, width, height, renderer, symbolizer) 
```

Export this geometry to an image representation.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| output_path | [AbstractPath](/psd/python-net/aspose.gis/abstractpath) | Path to the output image. |
| width | [Measurement](/psd/python-net/aspose.gis.rendering/measurement/) | Width of the map. |
| height | [Measurement](/psd/python-net/aspose.gis.rendering/measurement/) | Height of the map. |
| renderer | [Renderer](/psd/python-net/aspose.gis.rendering/renderer/) | Renderer to use. |
| symbolizer | [VectorSymbolizer](/psd/python-net/aspose.gis.rendering.symbolizers/vectorsymbolizer/) | A symbolizer to use for rendering. If <see langword="null" />, default symbolizer is used. |

### Method: as_image(output_path, width, height, renderer, symbolizer) {#as_image_output_path_width_height_renderer_symbolizer_4}


```
 as_image(output_path, width, height, renderer, symbolizer) 
```

Export this geometry to an image representation.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| output_path | string | Path to the output image. |
| width | [Measurement](/psd/python-net/aspose.gis.rendering/measurement/) | Width of the map. |
| height | [Measurement](/psd/python-net/aspose.gis.rendering/measurement/) | Height of the map. |
| renderer | [Renderer](/psd/python-net/aspose.gis.rendering/renderer/) | Renderer to use. |
| symbolizer | [VectorSymbolizer](/psd/python-net/aspose.gis.rendering.symbolizers/vectorsymbolizer/) | A symbolizer to use for rendering. If <see langword="null" />, default symbolizer is used. |

### Method: as_image(width, height, renderer, symbolizer) {#as_image_width_height_renderer_symbolizer_5}


```
 as_image(width, height, renderer, symbolizer) 
```

Export this geometry to an image representation.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| width | [Measurement](/psd/python-net/aspose.gis.rendering/measurement/) | Width of the map. |
| height | [Measurement](/psd/python-net/aspose.gis.rendering/measurement/) | Height of the map. |
| renderer | [Renderer](/psd/python-net/aspose.gis.rendering/renderer/) | Renderer to use. |
| symbolizer | [VectorSymbolizer](/psd/python-net/aspose.gis.rendering.symbolizers/vectorsymbolizer/) | A symbolizer to use for rendering. If <see langword="null" />, default symbolizer is used. |

**Returns**

| Type | Description |
| :- | :- |
| _io.BufferedRandom | The image as stream |


### Method: as_text() {#as_text__6}


```
 as_text() 
```

Translates this geometry to its Well-Known Text representation.

**Returns**

| Type | Description |
| :- | :- |
| string | Well-Known Text representation of this geometry. |


### Method: as_text(variant) {#as_text_variant_7}


```
 as_text(variant) 
```

Translates this geometry to its Well-Known Text representation.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| variant | [WktVariant](/psd/python-net/aspose.gis.geometries/wktvariant) | Well-Known Text variant to use. |

**Returns**

| Type | Description |
| :- | :- |
| string | Well-Known Text representation of this geometry. |


### Method: as_text(variant, format) {#as_text_variant_format_8}


```
 as_text(variant, format) 
```

Translates this geometry to its Well-Known Text representation.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| variant | [WktVariant](/psd/python-net/aspose.gis.geometries/wktvariant) | Well-Known Text variant to use. |
| format | [NumericFormat](/psd/python-net/aspose.gis/numericformat) | Coordinate format for conversion to string. See the [NumericFormat](/psd/python-net/aspose.gis/numericformat/) to get it. |

**Returns**

| Type | Description |
| :- | :- |
| string | Well-Known Text representation of this geometry. |


### Method: clone() {#clone__9}


```
 clone() 
```

Clones this instance.

**Returns**

| Type | Description |
| :- | :- |
| [Geometry](/psd/python-net/aspose.gis.geometries/geometry) | The clone of this instance |


### Method: covered_by(other) {#covered_by_other_10}


```
 covered_by(other) 
```

Determines whether this geometry is covered by a specified geometry.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry. |

**Returns**

| Type | Description |
| :- | :- |
| bool | <see langword="true" /> if this geometry is "spatially covered by" another geometry. <see langword="false" /> otherwise. |


### Method: covers(other) {#covers_other_11}


```
 covers(other) 
```

Determines whether this geometry covers a specified geometry.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry. |

**Returns**

| Type | Description |
| :- | :- |
| bool | <see langword="true" /> if this geometry is "spatially covers" another geometry. <see langword="false" /> otherwise. |


### Method: crosses(other) {#crosses_other_12}


```
 crosses(other) 
```

Determines if this geometry and a specified geometry cross.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry. |

**Returns**

| Type | Description |
| :- | :- |
| bool | <see langword="true" /> if this geometry is "spatially crosses" another geometry. <see langword="false" /> otherwise. |


### Method: difference(other) {#difference_other_13}


```
 difference(other) 
```

Subtracts a specified geometry from this geometry.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry to subtract. |

**Returns**

| Type | Description |
| :- | :- |
| [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry that represents a difference of this geometry and an argument. The result geometry contains<br/>            point set that present in this geometry but not present in an argument. |


### Method: disjoint(other) {#disjoint_other_14}


```
 disjoint(other) 
```

Determines if this geometry is disjoint from a specified geometry.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry. |

**Returns**

| Type | Description |
| :- | :- |
| bool | <see langword="true" /> if this geometry is "spatially disjoint" from another geometry. <see langword="false" /> otherwise. |


### Method: get_area() {#get_area__15}


```
 get_area() 
```

Computes the area of this geometry.

**Returns**

| Type | Description |
| :- | :- |
| double | The area of this geometry.<br/>            Sum of areas of elements of this geometry if this geometry is a [GeometryCollection](/psd/python-net/aspose.gis.geometries/geometrycollection/). |


### Method: get_buffer(distance, quadrant_segments) {#get_buffer_distance_quadrant_segments_16}


```
 get_buffer(distance, quadrant_segments) 
```

Computes a buffer region around this geometry.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| distance | double | The buffer region width (in Spatial Reference units). |
| quadrant_segments | int | Number of segments used to approximate a 90 degree of curvature.<br/>            The larger this number is the better approximation of curves is produced.<br/>            Default is 30. |

**Returns**

| Type | Description |
| :- | :- |
| [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry that represents all points that are within a specified distance from<br/>            this geometry.<br/>            The type of result is either [Geometry.null](/psd/python-net/aspose.gis.geometries/geometry/), [IPolygon](/psd/python-net/aspose.gis.geometries/ipolygon/) or [IMultiPolygon](/psd/python-net/aspose.gis.geometries/imultipolygon/). |


### Method: get_centroid() {#get_centroid__17}


```
 get_centroid() 
```

Computes the centroid of this geometry.

**Returns**

| Type | Description |
| :- | :- |
| [IPoint](/psd/python-net/aspose.gis.geometries/ipoint) | The centroid of this geometry. If this geometry is empty an empty point returned.<br/>            The centroid is equal to the centroid of the highest dimension geometries in this geometry<br/>            (e.g. if both points and lines are contained in the geometry, only lines contribute to centroid). |


### Method: get_convex_hull() {#get_convex_hull__18}


```
 get_convex_hull() 
```

Computes the convex hull of this geometry.

**Returns**

| Type | Description |
| :- | :- |
| [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry that represents a convex hull of this geometry.<br/>            If this geometry has no points then the result is [Geometry.null](/psd/python-net/aspose.gis.geometries/geometry/).<br/>            If this geometry has only one point then the result is this point.<br/>            If this geometry has only two points then the result is [ILineString](/psd/python-net/aspose.gis.geometries/ilinestring/) with the points.<br/>            If this geometry has three or more points then the result is [ILinearRing](/psd/python-net/aspose.gis.geometries/ilinearring/) that represents a convex<br/>            hull around all geometries points. |


### Method: get_distance_to(other) {#get_distance_to_other_19}


```
 get_distance_to(other) 
```

Computes the minimum distance between this geometry and a specified geometry.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry to find distance to. |

**Returns**

| Type | Description |
| :- | :- |
| double | If both geometries are not [IGeometry.is_empty](/psd/python-net/aspose.gis.geometries/igeometry/) - a distance between closest points of the geometries.<br/>            If at least one geometry is empty -1 is returned. |


### Method: get_extent() {#get_extent__20}


```
 get_extent() 
```

Computes and returns a bounding extent of this geometry.

**Returns**

| Type | Description |
| :- | :- |
| [Extent](/psd/python-net/aspose.gis/extent) | A bounding extent of this geometry. |


### Method: get_length() {#get_length__21}


```
 get_length() 
```

Computes the length of this geometry.

**Returns**

| Type | Description |
| :- | :- |
| double | The length of this geometry.<br/>            Perimeter if this is a [Polygon](/psd/python-net/aspose.gis.geometries/polygon/).<br/>            Sum of lengths of elements of this geometry if this geometry is a [GeometryCollection](/psd/python-net/aspose.gis.geometries/geometrycollection/). |


### Method: get_point_on_surface() {#get_point_on_surface__22}


```
 get_point_on_surface() 
```

Finds a point that is guaranteed to be on one of the surfaces in this collection.

**Returns**

| Type | Description |
| :- | :- |
| [IPoint](/psd/python-net/aspose.gis.geometries/ipoint) | A point on one of the surfaces. An empty point if this collection does not contain surfaces or all surfaces are empty. |


### Method: intersection(other) {#intersection_other_23}


```
 intersection(other) 
```

Builds an intersection between this geometry and a specified geometry.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry to compute intersection with. |

**Returns**

| Type | Description |
| :- | :- |
| [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry that represents an intersection of this geometry and an argument. The result geometry contain<br/>            point set that present in both this geometry and an argument. |


### Method: intersects(extent) {#intersects_extent_24}


```
 intersects(extent) 
```

Determines whether this geometry intersects a specified extent.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| extent | [Extent](/psd/python-net/aspose.gis/extent) | The extent. |

**Returns**

| Type | Description |
| :- | :- |
| bool | <see langword="true" /> if this geometry intersects the extent; <see langword="false" /> otherwise. |


### Method: intersects(other) {#intersects_other_25}


```
 intersects(other) 
```

Determines if this geometry and a specified geometry intersects.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry. |

**Returns**

| Type | Description |
| :- | :- |
| bool | <see langword="true" /> if this geometry "spatially intersects" another geometry. <see langword="false" /> otherwise. |


### Method: overlaps(other) {#overlaps_other_26}


```
 overlaps(other) 
```

Determines whether this geometry overlap with a specified geometry.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry. |

**Returns**

| Type | Description |
| :- | :- |
| bool | <see langword="true" /> if this geometry is "spatially overlaps" another geometry. <see langword="false" /> otherwise. |


### Method: relate(other, intersection_pattern_matrix) {#relate_other_intersection_pattern_matrix_27}


```
 relate(other, intersection_pattern_matrix) 
```

Determines if DE-9IM intersection matrix of this geometry and a specified geometry matches provided pattern.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry. |
| intersection_pattern_matrix | string | A patter to match with.<br/>            This should be a string with length equal to 9.<br/>            Each character of the string represent expected dimension of an intersection:<br/>            <ul><br/>            <li>character 0 - between interiors of the geometries.</li><br/>            <li>character 1 - between interior of this geometry and boundary of another geometry.</li><br/>            <li>character 2 - between interior of this geometry and exterior of another geometry.</li><br/>            <li>character 3 - between boundary of this geometry and interior of another geometry.</li><br/>            <li>character 4 - between boundaries of the geometries.</li><br/>            <li>character 5 - between boundary of this geometry and exterior of another geometry.</li><br/>            <li>character 6 - between exterior of this geometry and interior of another geometry.</li><br/>            <li>character 7 - between exterior of this geometry and boundary of another geometry.</li><br/>            <li>character 8 - between exteriors of the geometries.</li><br/>            </ul><br/>            Possible values of each characters are:<br/>            <ul><br/>            <li>* - any value;</li><br/>            <li>F - no intersection;</li><br/>            <li>T - any intersection;</li><br/>            <li>0 - point intersection (e.g. shared point);</li><br/>            <li>1 - line intersection (e.g. shared segment of line);</li><br/>            <li>2 - area intersection (e.g. shared part of polygon);</li><br/>            </ul><br/>            For example, an intersection pattern "F0*******" means, that there should not be intersection between geometries interiors<br/>            and intersection between geometries boundaries must be a point.<br/>            See OpenGIS Simple Features Specification for more details about intersection matrix pattern. |

**Returns**

| Type | Description |
| :- | :- |
| bool | <see langword="true" /> if this intersection matrix matches patter; <see langword="false" /> otherwise. |


### Method: replace_polygons_by_lines() {#replace_polygons_by_lines__28}


```
 replace_polygons_by_lines() 
```

Gets polygons represented as lines of this geometry.

**Returns**

| Type | Description |
| :- | :- |
| [IGeometryCollection](/psd/python-net/aspose.gis.geometries/igeometrycollection) | A geometry, that has no polygon geometries. The following transformation are applied:<br/>            <ul><br/>            <li> [GeometryType.POLYGON](/psd/python-net/aspose.gis.geometries/geometrytype/)s are linearized<br/>            (transformed into [GeometryType.LINE_STRING](/psd/python-net/aspose.gis.geometries/geometrytype/)s)</li><br/>            <li>[GeometryType.MULTI_POLYGON](/psd/python-net/aspose.gis.geometries/geometrytype/)s are joined into [GeometryType.MULTI_LINE_STRING](/psd/python-net/aspose.gis.geometries/geometrytype/)s</li><br/>            </ul> |


### Method: spatially_contains(other) {#spatially_contains_other_29}


```
 spatially_contains(other) 
```

Determines whether this geometry spatially contains a specified geometry.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry. |

**Returns**

| Type | Description |
| :- | :- |
| bool | <see langword="true" /> if this geometry is "spatially contains" another geometry. <see langword="false" /> otherwise. |


### Method: spatially_equals(other) {#spatially_equals_other_30}


```
 spatially_equals(other) 
```

Determines if this geometry spatially equal to a specified geometry.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry. |

**Returns**

| Type | Description |
| :- | :- |
| bool | <see langword="true" /> if this geometry "spatially equals" to specified geometry. <see langword="false" /> otherwise. |


### Method: sym_difference(other) {#sym_difference_other_31}


```
 sym_difference(other) 
```

Builds a symmetric difference between this geometry and a specified geometry.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry to compute symmetric difference with. |

**Returns**

| Type | Description |
| :- | :- |
| [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry that represents a symmetric difference of this geometry and an argument. The result geometry contains<br/>            point set that present in one of the geometries but not present in both of them. |


### Method: to_editable() {#to_editable__32}


```
 to_editable() 
```

Gets an editable copy of this geometry.

**Returns**

| Type | Description |
| :- | :- |
| [MultiPoint](/psd/python-net/aspose.gis.geometries/multipoint) | An editable copy of this geometry. |


### Method: to_linear_geometry() {#to_linear_geometry__33}


```
 to_linear_geometry() 
```

Gets approximate or equivalent non-curve version of this geometry using the default <c>tolerance</c>.

**Returns**

| Type | Description |
| :- | :- |
| [IGeometryCollection](/psd/python-net/aspose.gis.geometries/igeometrycollection) | A geometry that has no curve geometries. This is the equivalent of <DOM Element: class at 0x2a1791a70d0>.IGeometry.to_linear_geometry()(float) with<br/>            default <c>tolerance</c>. Default <c>tolerance</c> is defined by [IGeometry.spatial_reference_system](/psd/python-net/aspose.gis.geometries/igeometry/)<br/>            of this geometry:<br/>            <ul><br/>            <li> For projected SRS Tolerance is 0.001 meters (in SRS units) </li><br/>            <li> For geographic SRS Tolerance is <c>1e-5</c> degrees (in SRS units) </li><br/>            <li> For unknown SRS Tolerance is <c>1e-5</c> </li><br/>            </ul><br/>            For more details on what transformations are applied refer to <DOM Element: class at 0x2a1791a70d0>.IGeometry.to_linear_geometry()(float) specification. |


### Method: to_linear_geometry(tolerance) {#to_linear_geometry_tolerance_34}


```
 to_linear_geometry(tolerance) 
```

Gets approximate or equivalent non-curve version of this geometry using the specified <c>tolerance</c>.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| tolerance | double | The <c>tolerance</c> to use. The result is guaranteed to be less than <c>tolerance</c> away from the<br/>            curved geometry, unless the number of points needed to linearize the geometry exceeds the per-quadrant maximum<br/>            which is currently equal to 10000 points. |

**Returns**

| Type | Description |
| :- | :- |
| [IGeometryCollection](/psd/python-net/aspose.gis.geometries/igeometrycollection) | A geometry, that has no curve geometries. The following transformations are applied:<br/>            <ul><br/>            <li> [GeometryType.CIRCULAR_STRING](/psd/python-net/aspose.gis.geometries/geometrytype/)s are linearized<br/>            (transformed into [GeometryType.LINE_STRING](/psd/python-net/aspose.gis.geometries/geometrytype/)s with specified <paramref name="tolerance" />) </li><br/>            <li> [GeometryType.COMPOUND_CURVE](/psd/python-net/aspose.gis.geometries/geometrytype/)s are joined into <c>LineString</c>s </li><br/>            <li> [GeometryType.CURVE_POLYGON](/psd/python-net/aspose.gis.geometries/geometrytype/)s are transformed into [GeometryType.POLYGON](/psd/python-net/aspose.gis.geometries/geometrytype/)s </li><br/>            <li> [GeometryType.MULTI_CURVE](/psd/python-net/aspose.gis.geometries/geometrytype/)s are transformed into [GeometryType.MULTI_LINE_STRING](/psd/python-net/aspose.gis.geometries/geometrytype/)s </li><br/>            <li> [GeometryType.MULTI_SURFACE](/psd/python-net/aspose.gis.geometries/geometrytype/)s are transformed into [GeometryType.MULTI_POLYGON](/psd/python-net/aspose.gis.geometries/geometrytype/)s </li><br/>            </ul><br/>            As a result, [IGeometry.has_curve_geometry](/psd/python-net/aspose.gis.geometries/igeometry/) of output geometry is <see langword="false" />. |


### Method: touches(other) {#touches_other_35}


```
 touches(other) 
```

Determines if this geometry and a specified geometry touch.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry. |

**Returns**

| Type | Description |
| :- | :- |
| bool | <see langword="true" /> if this geometry is "spatially touches" another geometry. <see langword="false" /> otherwise. |


### Method: union(other) {#union_other_36}


```
 union(other) 
```

Unites this geometry and a specified geometry.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry to unite with. |

**Returns**

| Type | Description |
| :- | :- |
| [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry that represents a union of this geometry and an argument. The result geometry contains<br/>            point set that present in this geometry or in an argument. |


### Method: union(other) {#union_other_37}


```
 union(other) 
```

Unites this geometry and a specified geometry.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry[]](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry to unite with. |

**Returns**

| Type | Description |
| :- | :- |
| [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry that represents a union of this geometry and an argument. The result geometry contains<br/>            point set that present in this geometry or in an argument. |


### Method: within(extent) {#within_extent_38}


```
 within(extent) 
```

Determines whether this geometry is within a specified extent.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| extent | [Extent](/psd/python-net/aspose.gis/extent) | The extent. |

**Returns**

| Type | Description |
| :- | :- |
| bool | <see langword="true" /> if this geometry is within extent; <see langword="false" /> otherwise. |


### Method: within(other) {#within_other_39}


```
 within(other) 
```

Determines whether this geometry is within a specified geometry.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [IGeometry](/psd/python-net/aspose.gis.geometries/igeometry) | A geometry. |

**Returns**

| Type | Description |
| :- | :- |
| bool | <see langword="true" /> if this geometry is "spatially within" another geometry. <see langword="false" /> otherwise. |


