ostk.mathematics.geometry.d3.object.Polygon

class Polygon(
self: ostk.mathematics.geometry.d3.object.Polygon,
polygon: ostk.mathematics.geometry.d2.object.Polygon,
origin: ostk.mathematics.geometry.d3.object.Point,
x_axis: numpy.ndarray[numpy.float64[3, 1]],
y_axis: numpy.ndarray[numpy.float64[3, 1]],
)

Bases: Object

Methods

apply_transformation

as_ellipsoid

as_line

as_line_string

as_plane

as_point

as_point_set

as_polygon

as_pyramid

as_ray

as_segment

as_sphere

contains

get_edge_at

get_edge_count

get_normal_vector

get_origin

get_polygon2d

get_vertex_at

get_vertex_count

get_vertices

get_x_axis

get_y_axis

intersects

is_defined

is_ellipsoid

is_line

is_line_string

is_near

is_plane

is_point

is_point_set

is_polygon

is_pyramid

is_ray

is_segment

is_sphere

undefined

apply_transformation(
self: ostk.mathematics.geometry.d3.object.Polygon,
transformation: ostk::mathematics::geometry::d3::Transformation,
) None
as_ellipsoid(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Ellipsoid
as_line(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Line
as_line_string(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::LineString
as_plane(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Plane
as_point(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Point
as_point_set(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::PointSet
as_polygon(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Polygon
as_pyramid(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Pyramid
as_ray(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Ray
as_segment(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Segment
as_sphere(
self: ostk.mathematics.geometry.d3.Object,
) ostk::mathematics::geometry::d3::object::Sphere
contains(
self: ostk.mathematics.geometry.d3.Object,
arg0: ostk.mathematics.geometry.d3.Object,
) bool
get_edge_at(
self: ostk.mathematics.geometry.d3.object.Polygon,
index: int,
) ostk.mathematics.geometry.d3.object.Segment
get_edge_count(self: ostk.mathematics.geometry.d3.object.Polygon) int
get_normal_vector(
self: ostk.mathematics.geometry.d3.object.Polygon,
) numpy.ndarray[numpy.float64[3, 1]]
get_origin(
self: ostk.mathematics.geometry.d3.object.Polygon,
) ostk.mathematics.geometry.d3.object.Point
get_polygon2d(
self: ostk.mathematics.geometry.d3.object.Polygon,
) ostk.mathematics.geometry.d2.object.Polygon
get_vertex_at(
self: ostk.mathematics.geometry.d3.object.Polygon,
index: int,
) ostk.mathematics.geometry.d3.object.Point
get_vertex_count(self: ostk.mathematics.geometry.d3.object.Polygon) int
get_vertices(
self: ostk.mathematics.geometry.d3.object.Polygon,
) list[ostk.mathematics.geometry.d3.object.Point]
get_x_axis(
self: ostk.mathematics.geometry.d3.object.Polygon,
) numpy.ndarray[numpy.float64[3, 1]]
get_y_axis(
self: ostk.mathematics.geometry.d3.object.Polygon,
) numpy.ndarray[numpy.float64[3, 1]]
intersects(
self: ostk.mathematics.geometry.d3.Object,
arg0: ostk.mathematics.geometry.d3.Object,
) bool
is_defined(self: ostk.mathematics.geometry.d3.object.Polygon) bool
is_ellipsoid(self: ostk.mathematics.geometry.d3.Object) bool
is_line(self: ostk.mathematics.geometry.d3.Object) bool
is_line_string(self: ostk.mathematics.geometry.d3.Object) bool
is_near(
self: ostk.mathematics.geometry.d3.object.Polygon,
polygon: ostk.mathematics.geometry.d3.object.Polygon,
tolerance: ostk.core.type.Real,
) bool
is_plane(self: ostk.mathematics.geometry.d3.Object) bool
is_point(self: ostk.mathematics.geometry.d3.Object) bool
is_point_set(self: ostk.mathematics.geometry.d3.Object) bool
is_polygon(self: ostk.mathematics.geometry.d3.Object) bool
is_pyramid(self: ostk.mathematics.geometry.d3.Object) bool
is_ray(self: ostk.mathematics.geometry.d3.Object) bool
is_segment(self: ostk.mathematics.geometry.d3.Object) bool
is_sphere(self: ostk.mathematics.geometry.d3.Object) bool
static undefined() ostk.mathematics.geometry.d3.object.Polygon