bloqade.visual.animation.runtime.ppoly.PPoly
← Module overview
class
property
sourcemethod
method
source
classPPoly¶source
bloqade.visual.animation.runtime.ppoly.PPoly
class PPoly(c: np.ndarray, x: np.ndarray, extrapolate: bool = False)Parameters
| Name | Type | Default | Description |
|---|---|---|---|
c | np.ndarray | required | |
x | np.ndarray | required | |
extrapolate | bool | False |
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
c | np.ndarray | required | |
x | np.ndarray | required | |
extrapolate | bool | dataclasses.field(default=False) |
propertyget_ppoly¶source
bloqade.visual.animation.runtime.ppoly.PPoly.get_ppoly
get_ppoly: interp.PPolymethodto_json¶source
bloqade.visual.animation.runtime.ppoly.PPoly.to_json
methodfrom_json¶source
bloqade.visual.animation.runtime.ppoly.PPoly.from_json
def from_json(json_dict: Dict[str, Any]) -> PPolyParameters
| Name | Type | Description |
|---|---|---|
json_dict | Dict[str, Any] |
Returns
PPoly