载入中...
搜索中...
未找到
BuoyancyGeometry.cpp
浏览该文件的文档.
10Result<ImmersionSample> finish(ForceVector center, double total, double fraction, double offsetY) {
24Result<ImmersionSample> BuoyancyGeometry::sphere3D(ForceVector center, double radius, double surfaceY) {
33Result<ImmersionSample> BuoyancyGeometry::circle2D(ForceVector center, double radius, double thickness,
54Result<ImmersionSample> BuoyancyGeometry::box3D(ForceVector center, ForceVector size, double surfaceY) {
55 if (!inputs(center, surfaceY) || !isPositive(size.x) || !isPositive(size.y) || !isPositive(size.z))
61Result<ImmersionSample> BuoyancyGeometry::rectangle2D(ForceVector center, double width, double height, double thickness,
static Result< ImmersionSample > rectangle2D(ForceVector center, double width, double height, double thickness, double surfaceY)
Clip a world-aligned rectangle and extrude its submerged area by thickness.
Definition BuoyancyGeometry.cpp:61
static Result< ImmersionSample > box3D(ForceVector center, ForceVector size, double surfaceY)
Clip a world-aligned box; size contains full X/Y/Z dimensions.
Definition BuoyancyGeometry.cpp:54
static Result< ImmersionSample > sphere3D(ForceVector center, double radius, double surfaceY)
Integrate the submerged spherical cap and its volume centroid.
Definition BuoyancyGeometry.cpp:24
static Result< ImmersionSample > circle2D(ForceVector center, double radius, double thickness, double surfaceY)
Integrate a circular slice below a horizontal surface, extruded by thickness.
Definition BuoyancyGeometry.cpp:33
Owning world-space SI vector; 2D uses XY with Z exactly zero.
Definition ForceModels.h:12