Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_curves.hh
| Show First 20 Lines • Show All 281 Lines • ▼ Show 20 Lines | public: | ||||
| MutableSpan<float> nurbs_weights_for_write(); | MutableSpan<float> nurbs_weights_for_write(); | ||||
| /** | /** | ||||
| * UV coordinate for each curve that encodes where the curve is attached to the surface mesh. | * UV coordinate for each curve that encodes where the curve is attached to the surface mesh. | ||||
| */ | */ | ||||
| Span<float2> surface_uv_coords() const; | Span<float2> surface_uv_coords() const; | ||||
| MutableSpan<float2> surface_uv_coords_for_write(); | MutableSpan<float2> surface_uv_coords_for_write(); | ||||
| VArray<float> selection_point_float() const; | |||||
| MutableSpan<float> selection_point_float_for_write(); | |||||
| VArray<float> selection_curve_float() const; | |||||
| MutableSpan<float> selection_curve_float_for_write(); | |||||
| /** | /** | ||||
| * Calculate the largest and smallest position values, only including control points | * Calculate the largest and smallest position values, only including control points | ||||
| * (rather than evaluated points). The existing values of `min` and `max` are taken into account. | * (rather than evaluated points). The existing values of `min` and `max` are taken into account. | ||||
| * | * | ||||
| * \return Whether there are any points. If the curve is empty, the inputs will be unaffected. | * \return Whether there are any points. If the curve is empty, the inputs will be unaffected. | ||||
| */ | */ | ||||
| bool bounds_min_max(float3 &min, float3 &max) const; | bool bounds_min_max(float3 &min, float3 &max) const; | ||||
| ▲ Show 20 Lines • Show All 723 Lines • Show Last 20 Lines | |||||