ladybug_geometry.projection module¶
Utility functions for performing plane projections in 3D space.
This module can be used to create axonometric views of geometry among other purposes.
- ladybug_geometry.projection.project_geometry(plane, geometries)[source]¶
“Project multiple geometries into a plane to get them in the world 3D system.
- Parameters:
plane – The Plane into which the geometries will be projected.
geometries – An array of any ladybug_geometry objects which will be projected into the plane. Note that 2D geometry objects will be converted into 3D (and are assumed to be in the World XY plane) in order to be projected into the Plane. Also, Arcs will be converted to Polylines in order to be represented correctly in the plane.
- Returns:
The input geometries projected into the Plane. All coordinate values will be in the World 3D system.
- ladybug_geometry.projection.project_geometry_2d(plane, geometries)[source]¶
“Project multiple geometries into a plane to get them in the plane’s 2D system.
- Parameters:
plane – The Plane into which the geometries will be projected.
geometries – An array of any ladybug_geometry objects which will be projected into the plane. 2D geometry objects will retain their 2D classes as they are projected into the new system.
- Returns:
The input geometries projected into the Plane. All coordinate values will be in the 2D system of the input plane.