AYuA
(AYuA)
February 11, 2025, 11:52am
1
When I use Rhino.Geometry.Brep.IsPointInside() with the Brep made by Rhino.Geometry.Brep.CreateOffsetBrep(), it shows the different result from the normal one.
Is this bug? or I am missing something?
I will upload GH file.
IsPointInside.gh (14.7 KB)
AYuA
(AYuA)
February 11, 2025, 11:56am
2
This also shows oppposite result…
IsPointInside.gh (12.9 KB)
eirannejad
(Ehsan Iran-Nejad)
February 13, 2025, 12:18am
4
Are you expecting a point of {0, 0, 20} to be inside a box of 10x10x10 extruded from a point at Z of -10? The top of the box is at Z==10
AYuA
(AYuA)
February 13, 2025, 11:04am
5
Yes !! it just tow boxes I made are the same. but when do [IsPointInside(), the result become inverse. i was wondering why.
AYuA
(AYuA)
February 13, 2025, 11:09am
6
Sorry now I understand.
The brep extrudes from a surface has a inversed normals.
its a default behavior ?