Point#
- class planestress.pre.geometry.Point(x: float, y: float, tol: int, mesh_size: float | None = None)[source]#
Bases:
object
Class describing a point in 2D space.
- Parameters:
- Variables:
Methods
Rounds the point to
tol
digits.Converts the point to a
shapely
Point
object.Converts the point to a tuple.
Attributes
mesh_size
x
y
tol
idx
poly_idxs
- to_shapely_point() Point [source]#
Converts the point to a
shapely
Point
object.- Returns:
Point
as ashapely.Point
.- Return type: