Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a intersect point for a fatline #636

Open
IntrinsicM opened this issue Feb 15, 2024 · 0 comments
Open

Getting a intersect point for a fatline #636

IntrinsicM opened this issue Feb 15, 2024 · 0 comments

Comments

@IntrinsicM
Copy link

Hi,

I am wondering what need to be done to get able to return the intersect object for a fatline the same way other geometry does.
if const identifyobject = threeLayer.identify(e.coordinate) is called and an extrubde line or some other traditional geo is under the raycast you get intersect: {distance: 71.90185867002965, point: te, object: ni, uv: At, face: Object, …} but for a fatline this object does not exist.
Any help would be fantastic

Thanks
Karl

for ExtrudeLine:
{
distance: 66.34218774858776
face: {a: 9582, b: 9580, c: 9583, normal: te, materialIndex: 0}
faceIndex: 6512
object: ni {id: 3004, uuid: "469CCF2A-5A8A-43A7-8B38-61A27FCC4BAB", name: "line_High Alpine Epic", type: "Mesh", parent: sa, …}
point: te {x: 214505.55753861176, y: -57909.758113298514, z: 11.259509777421535, isVector3: true, setEulerFromRotationMatrix: function, …}
uv: At {x: -64.78330543256831, y: 4.032302238737918, isVector2: true, fromAttribute: function, distanceToManhattan: function, …}

FatLine:{
_eventMap: {add: Array, remove: Array}
_mouseover: false
_visible: true
_zoomVisible: true
id: 2962
isAdd: true
isBaseObject: true
layer: "t"
object3d: Line2 {id: 3002, uuid: "5FDD47F0-D1D2-4072-880D-07B31BEDDAB7", name: "", type: "Line2", parent: sa, …}
options: {interactive: true, altitude: 0, minZoom: 0, maxZoom: 30, asynchronous: false, …}
pickObject3d: Line2 {id: 3003, uuid: "90919E4C-50BD-420B-B264-96980706CF86", name: "", type: "Line2", parent: sa, …}
picked: false
type: "FatLine"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant