ostk.mathematics.geometry.d2.object.MultiPolygon

class MultiPolygon(
self: ostk.mathematics.geometry.d2.object.MultiPolygon,
polygons: list[ostk.mathematics.geometry.d2.object.Polygon],
)

Bases: Object

Methods

apply_transformation

contains

Overloaded function.

get_convex_hull

get_polygon_count

get_polygons

intersects

is_defined

polygon

to_string

undefined

union_with

class Format(self: ostk.mathematics.geometry.d2.Object.Format, value: int)

Bases: pybind11_object

Members:

Undefined

Standard

WKT

property name
apply_transformation(
self: ostk.mathematics.geometry.d2.object.MultiPolygon,
transformation: ostk::mathematics::geometry::d2::Transformation,
) None
contains(*args, **kwargs)

Overloaded function.

  1. contains(self: ostk.mathematics.geometry.d2.object.MultiPolygon, point: ostk.mathematics.geometry.d2.object.Point) -> bool

  2. contains(self: ostk.mathematics.geometry.d2.object.MultiPolygon, point_set: ostk.mathematics.geometry.d2.object.PointSet) -> bool

get_convex_hull(
self: ostk.mathematics.geometry.d2.object.MultiPolygon,
) ostk.mathematics.geometry.d2.object.Polygon
get_polygon_count(
self: ostk.mathematics.geometry.d2.object.MultiPolygon,
) int
get_polygons(
self: ostk.mathematics.geometry.d2.object.MultiPolygon,
) list[ostk.mathematics.geometry.d2.object.Polygon]
intersects(
self: ostk.mathematics.geometry.d2.Object,
object: ostk.mathematics.geometry.d2.Object,
) bool
is_defined(self: ostk.mathematics.geometry.d2.object.MultiPolygon) bool
static polygon(
polygon: ostk.mathematics.geometry.d2.object.Polygon,
) ostk.mathematics.geometry.d2.object.MultiPolygon
to_string(
self: ostk.mathematics.geometry.d2.object.MultiPolygon,
format: ostk.mathematics.geometry.d2.Object.Format = <Format.Standard: 1>,
precision: ostk.core.type.Integer = Undefined,
) ostk.core.type.String
static undefined() ostk.mathematics.geometry.d2.object.MultiPolygon
union_with(
self: ostk.mathematics.geometry.d2.object.MultiPolygon,
multipolygon: ostk.mathematics.geometry.d2.object.MultiPolygon,
) ostk.mathematics.geometry.d2.object.MultiPolygon