Skip to main content

TriangleCountService

Trait TriangleCountService 

Source
pub trait TriangleCountService:
    Send
    + Sync
    + 'static {
    // Required method
    fn count_triangles(
        &self,
        object: &ObjectId,
    ) -> Result<TriangleCount, TriangleCountError>;
}
Expand description

Counts the triangles of model objects’ meshes.

Required Methods§

Source

fn count_triangles( &self, object: &ObjectId, ) -> Result<TriangleCount, TriangleCountError>

The number of triangles in object’s mesh.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§