PlaneWithHole

class marxs.math.geometry.PlaneWithHole(kwargs)[source] [edit on github]

Bases: FinitePlane

Attributes Summary

inner_factor

outer_factor

shape

Methods Summary

inner_display(diplay)

inner_shape(diplay)

outer_display(diplay)

outer_shape(diplay)

triangulate([display])

Return a triangulation of the aperture hole embedded in a square.

Attributes Documentation

inner_factor = 0
outer_factor = 3
shape = 'triangulation'

Methods Documentation

inner_display(diplay)[source] [edit on github]
inner_shape(diplay)[source] [edit on github]
outer_display(diplay)[source] [edit on github]
outer_shape(diplay)[source] [edit on github]
triangulate(display={})[source] [edit on github]

Return a triangulation of the aperture hole embedded in a square.

The size of the outer square is determined by the 'outer_factor' element in self.display.

Returns:
xyznp.array

Numpy array of vertex positions in Eukeldian space

trianglesnp.array

Array of index numbers that define triangles