releso.spline.SplineSpaceDimension
- class releso.spline.SplineSpaceDimension(*, save_location: Path, logger_name: str | None = None, name: str, number_of_points: ConstrainedIntValue, degree: ConstrainedIntValue, knot_vector: List[float] | None = None)
Bases:
BaseModelDefines a single spline space dimension of the current spline.
The dimension is a dimension of the parametric spline dimension.
- __init__(**data: Any) None
Constructor for the ReLeSO basemodel object.
Methods
convert_to_pathlib_add_datetime(v)Add timestamp to save_location, of applicable.
Function returns the Knot vector given in the object.
get_logger()Gets the currently defined environment logger.
set_logger_name_recursively(logger_name)Set the logger_name variable for all child elements.
Attributes
Name of the spline dimension used for easier identification
number of control points in this dimension
degree of the spline in this dimension
knot vector describing the knot intervals of the spline in the current dimension
save_locationDefinition of the save location of the logs and validation results.
logger_namename of the logger.
- degree: ConstrainedIntValue
degree of the spline in this dimension
- get_knot_vector() List[float]
Function returns the Knot vector given in the object.
- Returns:
Direct return of the inner variable.
- Return type:
List[float]
- knot_vector: List[float] | None
knot vector describing the knot intervals of the spline in the current dimension
- name: str
Name of the spline dimension used for easier identification
- number_of_points: ConstrainedIntValue
number of control points in this dimension