eppy.geometry package
Submodules
eppy.geometry.area_zone module
“This module is used for calculation of zone area for E+ surfaces
-
eppy.geometry.area_zone.
area
(poly)[source]
Calculation of zone area
eppy.geometry.height_surface module
height and surface
-
eppy.geometry.height_surface.
area
(poly)[source]
-
eppy.geometry.height_surface.
height
(poly)[source]
-
eppy.geometry.height_surface.
unit_normal
(apnt, bpnt, cpnt)[source]
unit normal
eppy.geometry.int2lines module
Find the intersection between two lines
V = (1/6)*|(a-d).((b-d)x(c-d))|
-
eppy.geometry.int2lines.
central_p
(poly1, poly2)[source]
central point of a prism
-
eppy.geometry.int2lines.
vol_tehrahedron
(poly)[source]
volume of a irregular tetrahedron
-
eppy.geometry.int2lines.
vol_zone
(poly1, poly2)[source]
“volume of a zone defined by two polygon bases
eppy.geometry.mcve module
eppy.geometry.surface module
This module is used for assisted calculations on E+ surfaces
-
eppy.geometry.surface.
angle2vecs
(vec1, vec2)[source]
angle between two vectors
-
eppy.geometry.surface.
area
(poly)[source]
Area of a polygon poly
-
eppy.geometry.surface.
azimuth
(poly)[source]
Azimuth of a polygon poly
-
eppy.geometry.surface.
dist
(pt1, pt2)[source]
Distance between two points
-
eppy.geometry.surface.
get_an_unit_normal
(poly)[source]
try each vertex of the poly for a unit_normal. Return the unit_normal on sucess
-
eppy.geometry.surface.
height
(poly)[source]
Height of a polygon poly
-
eppy.geometry.surface.
tilt
(poly)[source]
Tilt of a polygon poly
-
eppy.geometry.surface.
true_azimuth
(bldg_north, zone_rel_north, surf_azimuth)[source]
True azimuth of a building surface
-
eppy.geometry.surface.
unit_normal
(pt_a, pt_b, pt_c)[source]
unit normal vector of plane defined by points pt_a, pt_b, and pt_c
-
eppy.geometry.surface.
vertex3tuple
(vertices)[source]
return 3 points for each vertex of the polygon. This will include the vertex and the 2 points on both sides of the vertex:
polygon with vertices ABCD
Will return
DAB, ABC, BCD, CDA -> returns 3tuples
#A B C D -> of vertices
-
eppy.geometry.surface.
width
(poly)[source]
Width of a polygon poly
eppy.geometry.volume_zone module
“This module is used for calculation of zone volume for E+ surfaces
-
eppy.geometry.volume_zone.
central_p
(poly1, poly2)[source]
-
eppy.geometry.volume_zone.
vol
(poly1, poly2)[source]
“volume of a zone defined by two polygon bases
-
eppy.geometry.volume_zone.
vol_tehrahedron
(poly)[source]
volume of a irregular tetrahedron
Module contents