Skip to main content

Module area

Module area 

Source

Constantsยง

AXIAL_AXIS ๐Ÿ”’
Index of the axial axis, whose face is flat but bounded by two arcs
RADIAL_AXIS ๐Ÿ”’
Index of the radial axis, the only face of a cylindrical compartment that is not a plane

Functionsยง

compute_intersection_area
is_curved_face
A radial face is a cylindrical patch, every other face of the compartment is flat
planar_bounds ๐Ÿ”’
Half spaces bounding the face of a compartment, when all of them are planes. So a radial and a theta face are exactly clippable by half spaces, an axial face is not: its r bounds are cylinders, and that case is left to the caller.
polygon_annulus_area ๐Ÿ”’
Area of a polygon of the plane z = constant kept inside the annulus of the axial face
polygon_area_3d ๐Ÿ”’
project_points_to_plane_2d ๐Ÿ”’
sort_points_ccw_3d ๐Ÿ”’
tangent_plane_at
Plane to cut one element with, when the face it crosses is curved.
tetra_area ๐Ÿ”’
triangle_disk_area ๐Ÿ”’
Signed area of the intersection between the triangle (origin, a, b) and the disk of radius radius centred on the origin.