ImageGear .NET v25.2 - Updated
ImageGear.Formats.Vector Assembly / ImageGear.Formats.CAD Namespace / CADCamera Class / Orbit Method
Angle in radians to orbit around on X-plane.
Angle in radians to orbit around on Y-plane.




In This Topic
    Orbit Method
    In This Topic
    Orbits camera around point.
    Syntax
    'Declaration
     
    Public Sub Orbit( _
       ByVal x As Double, _
       ByVal y As Double _
    ) 
    'Usage
     
    Dim instance As CADCamera
    Dim x As Double
    Dim y As Double
     
    instance.Orbit(x, y)
    public void Orbit( 
       double x,
       double y
    )
    public: void Orbit( 
       double x,
       double y
    ) 
    public:
    void Orbit( 
       double x,
       double y
    ) 

    Parameters

    x
    Angle in radians to orbit around on X-plane.
    y
    Angle in radians to orbit around on Y-plane.
    Remarks

    Orbiting the camera means: moving the camera on a plane by a given angle, while looking and keeping the same distance from a set point.

    Will invalidate camera's ImGearCADPage, so if viewing in a ImGearPageView you must do ImGearPageView.Update() to see changes.

    See Also