mt.geo2d.polygon

A 2D polygon.

Classes

  • Polygon: A 2D polygon, represented as a point list of vertices in either clockwise or counter-clockwise order.

class mt.geo2d.polygon.Polygon(point_list: list | ndarray | array)

A 2D polygon, represented as a point list of vertices in either clockwise or counter-clockwise order.

See also

PointList2d

base class

Inheritance

digraph inheritancef78f5f62bd { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "GeometricObject" [URL="../mt.geo/mt.geo.object.html#mt.geo.object.GeometricObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A geometric object which lives in a d-dimensional Euclidean space."]; "HasShapely" [URL="mt.geo2d.shapely.html#mt.geo2d.shapely.HasShapely",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Mixin to assert that the geometric object has the 'shapely' property."]; "PointList" [URL="../mt.geond/mt.geond.point_list.html#mt.geond.point_list.PointList",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A list of points."]; "GeometricObject" -> "PointList" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PointList2d" [URL="mt.geo2d.point_list.html#mt.geo2d.point_list.PointList2d",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A list of 2D points."]; "TwoD" -> "PointList2d" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PointList" -> "PointList2d" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Polygon" [URL="#mt.geo2d.polygon.Polygon",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A 2D polygon, represented as a point list of vertices in either clockwise or counter-clockwise order."]; "HasShapely" -> "Polygon" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PointList2d" -> "Polygon" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TwoD" [URL="../mt.geo/mt.geo.object.html#mt.geo.object.TwoD",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Mixin to assert that the geometric object lives in 2D Euclidean space."]; }
property shapely

Shapely representation for fast intersection operations.