Object3DManagerFromZone Method (Single, Single, Single, Single, Single, Single, BoundBoxSearchOption, Boolean) |
Namespace: VIZCore3D.NET.Manager
public List<Node> FromZone( float minX, float minY, float minZ, float maxX, float maxY, float maxZ, BoundBoxSearchOption option, bool visibleOnly = true )
// VIZCore3D.NET Control private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void Example() { float x1, y1, z1, x2, y2, z2; x1 = 0.0f; y1 = 0.0f; z1 = 0.0f; x2 = 100.0f; y2 = 100.0f; z2 = 100.0f; List<VIZCore3D.NET.Data.Node> items = vizcore3d.Object3D.FromZone( x1, y1, z1 , x2, y2, z2 , VIZCore3D.NET.Data.BoundBoxSearchOption.FullyContained ); } private void Example2() { VIZCore3D.NET.Data.Vertex3D min = new Data.Vertex3D(0, 0, 0); VIZCore3D.NET.Data.Vertex3D max = new Data.Vertex3D(100, 100, 100); List<VIZCore3D.NET.Data.Node> items = vizcore3d.Object3D.FromZone( min , max , VIZCore3D.NET.Data.BoundBoxSearchOption.FullyContained ); } private void Example3() { VIZCore3D.NET.Data.BoundBox3D boundBox = new Data.BoundBox3D( new float[] { 0, 0, 0 } , new float[] { 100, 100, 100 } ); List<VIZCore3D.NET.Data.Node> items = vizcore3d.Object3D.FromZone(boundBox , VIZCore3D.NET.Data.BoundBoxSearchOption.FullyContained ); }