Point#

class Point[source]#

Bases: EntityBase

Point class for defining a single point used in various outputs.

Example

>>> fl.Point(
...      name="Point",
...      location=(1.0, 2.0, 3.0) * fl.u.m,
...  )

Attributes

location: Any#

The coordinate of the point.

Properties

id: str#

Returns private_attribute_id of the entity.

Additional Constructors

classmethod from_file(filename)#

Load a Flow360BaseModel from a .json file.

Parameters:

filename (str)

Return type:

Flow360BaseModel

Methods

help(methods=False)#

Print fields and methods of a Flow360BaseModel using rich.

Parameters:

methods (bool)

Return type:

None

to_file(filename, **kwargs)#

Export Flow360BaseModel instance to a .json file.

Parameters:
Return type:

None