How to output an object to upper left corner
#1
I have a diagram that I wish to start in the upper left corner.  I can do this setting the camera with FitIntoView but I don't want the entire diagram to be displayed.   

My understanding is that position (0, 0, 0)  is the center of the screen and if I make the X coordinate of an objet negative, the object location moves to the left.  

In your sample code Lines3DSample, the first line is drawn with:

              <visuals:LineVisual3D StartPosition="-50,0,220" EndPosition="50,0,220" LineColor="Silver" LineThickness="1"/>
 
How do I calculate the StartPosition so that that line starts in the upper left hand corner?
  


Messages In This Thread
How to output an object to upper left corner - by HelloSupport - 08-04-2024, 01:53 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)