Repository navigation
node select by boundary
Home > Data > Select by Boundary
< Previous: Select by Area | Next: Select Every Nth >
Keep the items a closed loop encloses. Enclosed keeps only what is wholly inside; turn it off to keep what the loop touches as well.
Category: Data | Add menu: Data > Select by Boundary
Routes each item to Selected or Unselected by whether a closed loop encloses it. Wire the loop to Boundary and the things to test to Geometry. The loop has its own port, so it is never part of its own answer.
Enclosed is a switch on the node face and starts on, which is the strict reading: only what lies wholly inside is kept. Turn it off and anything the loop touches is kept too, so a shape straddling the edge comes out Selected rather than Unselected. Loosening the test is the deliberate move, not the default.
- Geometry (any): the items to test.
- Boundary (any): the closed loop, or loops, that do the enclosing.
- Enclosed (boolean, switch on the node face: default on): on keeps only what is wholly inside; off also keeps what the loop touches.
- Selected (any): the items the boundary encloses.
- Unselected (any): everything else.
Both outputs are live, so nothing is thrown away. Wire Unselected up as well to see what the loop is catching before you build on the answer.
Items, the same way Select by Area and Select Every Nth count them, so a region and its holes are tested and kept together rather than coming apart. An item resting exactly on the loop counts as inside.
A boundary does not have to be one ring. It can be several separate shapes, each tested on its own with the answers merged, so an item inside any one of them is selected. Two islands drawn apart from each other both select what they enclose.
Inside one shape the reading is even-odd: inside the outer ring and outside an inner one is in. A ring with a hole in it therefore behaves the way it looks, and something sitting in the hole is out.
A boundary it cannot use selects nothing: the whole input comes out on Unselected and the node raises the red attention badge. It does not pass the input through to Selected, which would read as a working test, and it does not close a gap for you, which would invent geometry you did not draw.
Hovering the badge gives the reason, one of three:
- Nothing is wired to Boundary.
- Boundary does not close: there is a gap between two ends.
- Boundary closes but encloses nothing.
- Select by Area: the same sorting by size rather than by position.
- Select Every Nth: by index, with the complement on the other output.
- Select by Condition: by a true or false you compute yourself.
- Data nodes: the rest of the category.
< Previous: Select by Area | Next: Select Every Nth >
Found a bug or have feedback? Open an issue | Docs home | Videos | Credits
Getting Started
- Welcome
- How Locus came to be
- Videos
- Community & support
- Installing & launching
- Licensing & activation
- Beta License Agreement
- Core concepts
- Interface tour
- Your first pattern
Modeling - Drawing
- Canvas basics
- Points
- Typing coordinates
- Lines, rays & segments
- Circles & arcs
- Ellipses
- Compass & straightedge
- Rectangles & squares
- Splines
- The path menu
- Add Extremes
- Constraining with Shift
Modeling - Editing
- Selecting objects
- Transform tools
- Align & distribute
- Duplicate, detach & ownership
- Regions & booleans
- Cleanup
- Weld & seams
- Style palettes & Re-ink
Annotation
Layers
Modeling Menus
- File
-
Edit
- Undo and Redo
- Group
- Ungroup
- Copy
- Paste
- Paste in Place
- Duplicate
- Duplicate in Place
- Hide
- Reverse Direction
- Convert to Spline
- Cut Spline
- Close Spline
- Compound paths
- Unhide All
- Detach
- Bake
- Clean Up: Merge Coincident Points
- Copy Style
- Reference in Nodes
- Snap to Points
- Snap to Objects
- Snap to Intersections
- Snap to Guides
- View
-
Draw
- Select
- Point
- Pen
- Segment
- Line
- Ray
- Circle: Center Point
- Circle: Center Radius
- Circle: Through 3 Points
- Arc: Center, Start, End
- Straightedge
- Compass
- Compass: Radius
- Ellipse: Center + Axes
- Elliptical Arc
- Rectangle: XY-Aligned
- Rectangle: Directed
- Square
- Regular Polygon: Edge
- Regular Polygon: Center, Vertex
- Regular Polygon: Center, Edge Midpoint
- Dimension: Linear
- Dimension: Angle
- Dimension: Radial
- Label
- Construct
- Combine
- Transform
- Select
- Nodes
The Nodes Window
- Basics of visual programming
- How the node graph works
- Sockets & wires
- Adding & connecting nodes
- Sliders & number inputs
- Keeping the node graph tidy
- View menu (Nodes)
- Lists & collections
- Constants & unit conversions
Node Library
- Overview
- Input
-
Primitives
- Point
- Point: Polar
- Segment
- Line
- Ray
- Circle: Center Point
- Circle: Center Radius
- Circle: Apollonius
- Circle Tangent to...
- Circle: 3 Points
- Arc
- Ellipse
- Elliptical Arc
- Rectangle: XY-Aligned
- Rectangle: Directed
- Square
- Regular Polygon: Edge
- Regular Polygon: Center
- Rectangular Grid
- Oblique Grid
- Triangular Grid
- Construct
- Transform
- Image & Fields
- Combine
-
Data
- Measure
- Numbers
- Lists
- Select
- Clean up
- Display
Clusters
Bridging Modeling & Nodes
Patterns & Symmetry
Image-Driven Fields
Saving, Exporting & Files
Preferences & Language
CLI
- CLI server
- Locus Shell
- CLI commands
- Tangent circles
- Tick and strike
- Making regions
- Boolean commands
- The node graph from the command line
Reference

