aerocaps.geom.Geometry#

class Geometry(name: str, construction: bool = False)[source]#

Bases: object

Abstract geometry class

__init__(name: str, construction: bool = False)[source]#

Abstract geometry class

Parameters:
  • name (str) – Name of the geometric object. May be re-assigned a unique name when added to a GeometryContainer

  • construction (bool) – Whether this is a geometry used only for construction of other geometries. If True, this geometry will not be exported or plotted. Default: False

Methods

Attributes

construction

Whether this is a construction geometry (if so, it will not be plotted or exported)

name

Gets the name assigned to the geometry

property construction: bool#

Whether this is a construction geometry (if so, it will not be plotted or exported)

property name: str#

Gets the name assigned to the geometry

Returns:

Name of the geometry

Return type:

str