PlaneWithHole¶
- class marxs.math.geometry.PlaneWithHole(kwargs)[source]¶
Bases:
FinitePlaneAttributes Summary
Methods Summary
inner_display(display)inner_shape(display)outer_display(display)outer_shape(display)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
- triangulate(display={})[source]¶
Return a triangulation of the aperture hole embedded in a square.
The size of the outer square is determined by the
'outer_factor'element inself.display.Returns¶
- xyznp.array
Numpy array of vertex positions in Euclidean space
- trianglesnp.array
Array of index numbers that define triangles