0.1.8
Loading...
Searching...
No Matches
pyhelios.Context.PrimitiveInfo Class Reference

Physical properties and geometry information for a primitive. More...

Detailed Description

Physical properties and geometry information for a primitive.

This is separate from primitive data (user-defined key-value pairs).

Definition at line 23 of file Context.py.

Public Member Functions

 __post_init__ (self)
 Calculate centroid from vertices if not provided.
 

Static Public Attributes

List vertices [vec3]
 
Optional centroid = None
 

Member Function Documentation

◆ __post_init__()

pyhelios.Context.PrimitiveInfo.__post_init__ ( self)

Calculate centroid from vertices if not provided.

Definition at line 33 of file Context.py.

Member Data Documentation

◆ centroid

Optional pyhelios.Context.PrimitiveInfo.centroid = None
static

Definition at line 30 of file Context.py.

◆ vertices

List pyhelios.Context.PrimitiveInfo.vertices [vec3]
static

Definition at line 28 of file Context.py.


The documentation for this class was generated from the following file: