ostk.mathematics.geometry.d2.object.LineString

class LineString(
self: ostk.mathematics.geometry.d2.object.LineString,
points: list[ostk.mathematics.geometry.d2.object.Point],
)

Bases: Object

Methods

apply_transformation

contains

empty

get_point_closest_to

get_point_count

intersects

is_defined

is_empty

is_near

to_string

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.LineString,
transformation: ostk::mathematics::geometry::d2::Transformation,
) None
contains(
self: ostk.mathematics.geometry.d2.Object,
object: ostk.mathematics.geometry.d2.Object,
) bool
static empty() ostk.mathematics.geometry.d2.object.LineString
get_point_closest_to(
self: ostk.mathematics.geometry.d2.object.LineString,
point: ostk.mathematics.geometry.d2.object.Point,
) ostk.mathematics.geometry.d2.object.Point
get_point_count(self: ostk.mathematics.geometry.d2.object.LineString) int
intersects(
self: ostk.mathematics.geometry.d2.Object,
object: ostk.mathematics.geometry.d2.Object,
) bool
is_defined(self: ostk.mathematics.geometry.d2.object.LineString) bool
is_empty(self: ostk.mathematics.geometry.d2.object.LineString) bool
is_near(
self: ostk.mathematics.geometry.d2.object.LineString,
line_string: ostk.mathematics.geometry.d2.object.LineString,
tolerance: ostk.core.type.Real,
) bool
to_string(
self: ostk.mathematics.geometry.d2.object.LineString,
format: ostk.mathematics.geometry.d2.Object.Format = <Format.Standard: 1>,
precision: ostk.core.type.Integer = Undefined,
) ostk.core.type.String