Surface#

class planestress.pre.geometry.Surface(idx: int)[source]#

Bases: object

Class describing a surface of a 2D geometry, i.e. a group of curve loops.

The first loop will be the outer shell, while the remaining (if any) loops define the interiors (hole edges).

Parameters:

idx (int) – Surface index.

Variables:

curve_loops (list[planestress.pre.geometry.CurveLoop]) – List of curve loops on the surface.

Methods

point_on_surface

Checks to see if a Point is on this surface.

Attributes

idx

curve_loops

point_on_surface(point: Point) bool[source]#

Checks to see if a Point is on this surface.

Parameters:

point (Point) – Point object.

Returns:

True if the point is on this surface.

Return type:

bool