VMofSG
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - VM/Voxels
Introduced first in SolidGeometry 3.4, Creation date: 2017-02-23, Last change: 2025-09-14
returns a voxel model of a Solid Geoemtry
Description
The voxel size is adjusted automatically to maximize the resolution. The absolute position in space is lost. The orientation is unchanged.
See Also: SGweight
, SGvolume
, SGisInterior
, SGofVMdelaunay
, SGofVMmarchcube
, VMplot
Example Illustration
Syntax
[VM,vs,SGN]=VMofSG([SG,n,adjxy,shsl])
Input Parameter
SG: | | Solid Geometry |
n: | | Voxel size vector; default is [64 64 64] |
adjxy: | | adjust x and y size; default is false |
shsl: | | delay per slice if progress should be shown |
Output Parameter
VM: | | Voxel Model |
vs: | | Voxel size |
SGN: | | Optional Solid by marching cube |
Copyright 2017-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21