API Reference > geometry-core > Topology > PointSearchContext > setSearchRay setSearchRay Method Set (replace contents) ray with origin at start direction is unit vector from start towards target a is distance from start to target. setSearchRay(start: HalfEdgePositionDetail, target: Point3d, ray: Ray3d): boolean Parameter Type Description start HalfEdgePositionDetail existing position target Point3d target xy coordinates ray Ray3d ray to update Returns - boolean Defined in core/geometry/src/topology/HalfEdgePointInGraphSearch.ts Line 250 Last Updated: 13 June, 2024