载入中...
搜索中...
未找到
eve::physics::FractureGeometry结构体 参考

Owning, typed mesh payload shared immutably by simulation, clip and renderer. @thread Read-only sharing is safe; build/validation is single caller, no callbacks. 更多...

#include <FractureGeometry.h>

Public 成员函数

Result< void > validate () const
 Validate budgets, closed outward convex meshes, indices, finite coordinates and tags. @cost Quadratic in vertices per fragment; validate once before publication, not per frame.
 

Public 属性

std::vector< FractureFragment > fragments
 

详细描述

Owning, typed mesh payload shared immutably by simulation, clip and renderer. @thread Read-only sharing is safe; build/validation is single caller, no callbacks.

在文件 FractureGeometry.h 第 19 行定义.

成员函数说明

◆ validate()

Result< void > eve::physics::FractureGeometry::validate ( ) const

Validate budgets, closed outward convex meshes, indices, finite coordinates and tags. @cost Quadratic in vertices per fragment; validate once before publication, not per frame.

返回
Checked failure; never changes this object.

在文件 FractureGeometry.cpp 第 8 行定义.

引用了 a, ab, ac, b, c, count, edge, edges, eve::Diagnostic::error(), f, eve::Result< T >::failure(), fragments, ids, eve::InvalidArgument, key, length, n, point, q, scale, eve::Result< T >::success(), t, v, value, volume, x , 以及 y.

类成员变量说明

◆ fragments

std::vector<FractureFragment> eve::physics::FractureGeometry::fragments

在文件 FractureGeometry.h 第 20 行定义.

被这些函数引用 validate().


该结构体的文档由以下文件生成: