Geometry¶
- 
class 
epquery.edit.Geometry(idf_path, idd_path)¶ Bases:
epquery.basicedit.BasicEditGeometry specific methods.
- 
get_surface_area(surface_name, surface_type=’BuildingSurface:Detailed’)¶ Returns the surface area.
Parameters: - surface_name (str) – Surface name
 - surface_type (str) – Surface type, default: BuildingSurface:Detailed
 
Returns: List of vertices (list of tuples with x, y, z)
Return type: list(tuple(float, float, float))
- 
get_surface_centroid(surface_name, surface_type=’BuildingSurface:Detailed’, relative=False)¶ Returns the surface center point (centroid). The centroid can be in absolute or relative coordinates (relative to the first vertex).
Parameters: - surface_name (str) – Surface name
 - surface_type (str) – Surface type, default: BuildingSurface:Detailed
 - relative (bool) – If True the centroid is given in relative coordinates
 
Return type: numpy.ndarray with 3 elements
- 
get_surface_vertices(surface_name, surface_type=’BuildingSurface:Detailed’)¶ Returns a list of vertices defining the surface.
Parameters: - surface_name (str) – Surface name
 - surface_type (str) – Surface type, default: BuildingSurface:Detailed
 
Returns: List of vertices (list of tuples with x, y, z)
Return type: list(tuple(float, float, float))
-