an elliptic cylinder

14 views
Skip to first unread message

wwang

unread,
Jun 17, 2025, 5:10:56 PMJun 17
to iso2mesh-users
Hi Dr. Fang,

Is there a way to create an elliptical cylinder where I can specify the major and minor axis radius of the cross section, the length of cylinder. Elliptic Cylinder -- from Wolfram MathWorld
Also, when placing detector on the cylinder surface (not the two ends), is the detector area where the detector sphere and the cylinder outer surface intersect? Is there a way to create a rectangular detector area on the cylinder surface? Many thanks.

Qianqian Fang

unread,
Jun 18, 2025, 7:23:20 PMJun 18
to iso2mes...@googlegroups.com, wwang
see my replies below

On 6/17/25 16:33, wwang wrote:
Hi Dr. Fang,

Is there a way to create an elliptical cylinder where I can specify the major and minor axis radius of the cross section, the length of cylinder. Elliptic Cylinder -- from Wolfram MathWorld


it did not support, but now it does. see this commit I made earlier

https://github.com/fangq/iso2mesh/commit/9ee89c5bba98e30f91376b311933605f78de32d3


Also, when placing detector on the cylinder surface (not the two ends), is the detector area where the detector sphere and the cylinder outer surface intersect?


if you were referring to mmc, yes


Is there a way to create a rectangular detector area on the cylinder surface? Many thanks.


you can create a widefield detector using cfg.detpos, cfg.detparam1/cfg.detparam2, but you have to move it away from the cylindrical surface. see example here

https://github.com/fangq/mmc/blob/master/mmclab/example/demo_wide_det.m


if you just want o get the diffuse reflectance on the cylinder surface, you should set cfg.issaveref to 1, this produces the dref output, you can rasterize it anyway you want

see example

https://github.com/fangq/mmc/blob/master/mmclab/example/demo_mmclab_basic.m#L38


--
You received this message because you are subscribed to the Google Groups "iso2mesh-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iso2mesh-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/iso2mesh-users/d5d00588-61da-44b8-bc5b-0c872ded790cn%40googlegroups.com.

wwang

unread,
Jun 18, 2025, 7:28:44 PMJun 18
to iso2mesh-users
Thank you very much for the help, Dr. Fang.
Reply all
Reply to author
Forward
0 new messages