Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8676

Screen point to world xz plane or world zy plane in c#

$
0
0

@pythonuser wrote:

Hi:
Rhino.Display.RhinoView view = doc.Views.ActiveView;
Rhino.Geometry.Transform xform = view.ActiveViewport.GetTransform(
Rhino.DocObjects.CoordinateSystem.Screen,
Rhino.DocObjects.CoordinateSystem.World
);
Rhino.Geometry.Point3d world_point = new Rhino.Geometry.Point3d(
screen_point.X,
screen_point.Y,
0.0
);
world_point.Transform(xform);

this core cant transform screen point to world xy plane, it is any way to tranform screen point to wold xz plane or world yz plane?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8676

Trending Articles