Skip to content

Ray3dLike

Ray3dLike = Ray3d | [Point3d, Point3d] | [Point3Like, Point3Like]

Any value that can be interpreted as a 3D Ray.

Due to ambiguity, the last element in a tuple will only be interpreted as an end point if it is a Point3d.

let { Point3d } = SketchUpApi;
// Interpreted as Point+Vector
[[0,0,0],[1,0,0]];
// Interpreted as Point+Point
[[0,0,0],new Point3d(1,0,0)];

SDK 2.37.0