Trait truck_geometry::base::traits::ParametricSurface
source · pub trait ParametricSurface: Clone {
type Point;
type Vector;
// Required methods
fn subs(&self, u: f64, v: f64) -> Self::Point;
fn uder(&self, u: f64, v: f64) -> Self::Vector;
fn vder(&self, u: f64, v: f64) -> Self::Vector;
fn uuder(&self, u: f64, v: f64) -> Self::Vector;
fn uvder(&self, u: f64, v: f64) -> Self::Vector;
fn vvder(&self, u: f64, v: f64) -> Self::Vector;
// Provided methods
fn parameter_range(
&self,
) -> ((Bound<f64>, Bound<f64>), (Bound<f64>, Bound<f64>)) { ... }
fn try_range_tuple(&self) -> (Option<(f64, f64)>, Option<(f64, f64)>) { ... }
fn u_period(&self) -> Option<f64> { ... }
fn v_period(&self) -> Option<f64> { ... }
}
Expand description
Parametric surface
Required Associated Types§
Required Methods§
Provided Methods§
sourcefn parameter_range(
&self,
) -> ((Bound<f64>, Bound<f64>), (Bound<f64>, Bound<f64>))
fn parameter_range( &self, ) -> ((Bound<f64>, Bound<f64>), (Bound<f64>, Bound<f64>))
The range of the parameter of the surface.
sourcefn try_range_tuple(&self) -> (Option<(f64, f64)>, Option<(f64, f64)>)
fn try_range_tuple(&self) -> (Option<(f64, f64)>, Option<(f64, f64)>)
Return the ends of parameter_range
by tuple.
If the range is unbounded, return `None``.
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl ParametricSurface for ()
impl ParametricSurface for ()
Implementation for the test of topological methods.