pub trait RasterizableSurface<S: Scalar> {
// Required method
fn eval_at(&self, u: S, v: S) -> GeopResult<Vector3<S>>;
}Expand description
Trait for objects that can be uniformly sampled into 3D points for rendering.
Required Methods§
Sourcefn eval_at(&self, u: S, v: S) -> GeopResult<Vector3<S>>
fn eval_at(&self, u: S, v: S) -> GeopResult<Vector3<S>>
Evaluate the surface at (u, v) and return a 3D point.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".