PointArray#
- class PointArray[source]#
Bases:
EntityBasePointArrayclass for defining multiple equally spaced monitor points along a line.Example
Define
PointArraywith 6 equally spaced points along a line starting from (0,0,0) * fl.u.m to (1,2,3) * fl.u.m. Both the starting and end points are included in thePointArray.>>> fl.PointArray( ... name="Line_1", ... start=(0.0, 0.0, 0.0) * fl.u.m, ... end=(1.0, 2.0, 3.0) * fl.u.m, ... number_of_points=6, ... )
Attributes
Properties
Additional Constructors
- classmethod from_file(filename)#
Load a Flow360BaseModel from a .json file.
- Parameters:
filename (str)
- Return type:
Flow360BaseModel
Methods