PointArray2D#
- class PointArray2D[source]#
Bases:
EntityBasePointArray2Dclass for defining multiple equally spaced points along the u and v axes of a parallelogram.Example
Define
PointArray2Dwith points equally distributed on a parallelogram with origin (1.0, 0.0, 0.0) * fl.u.m. There are 7 equally spaced points along the parallelogram’s u-axis of (0.5, 1.0, 0.2) * fl.u.m and 10 equally spaced points along its v-axis of (0.1, 0, 1) * fl.u.m.Both the starting and end points are included in the
PointArray.>>> fl.PointArray2D( ... name="Parallelogram_1", ... origin=(1.0, 0.0, 0.0) * fl.u.m, ... u_axis_vector=(0.5, 1.0, 0.2) * fl.u.m, ... v_axis_vector=(0.1, 0, 1) * fl.u.m, ... u_number_of_points=7, ... v_number_of_points=10 ... )
Attributes
Properties
Additional Constructors
- classmethod from_file(filename)#
Load a Flow360BaseModel from a .json file.
- Parameters:
filename (str)
- Return type:
Flow360BaseModel
Methods