porems.shape.
Cuboid
(inp)¶This class defines a cuboid shape. Needed inputs are
Parameters: |
|
---|
Surface Function
Phi (self, x, y, z) |
Surface function of a cuboid. |
Shape
rim (self, z[, num]) |
Return x and y values for given length. |
surf (self[, num]) |
Return x, y and z values for the shape. |
Properties
is_in (self, pos) |
Check if given position is inside of shape. |
normal (self, pos) |
Calculate unit normal vector on surface for a given position. |
surface (self) |
Calculate inner surface |
volume (self) |
Calculate volume |