Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: PointD ProjectOntoCamera(Pt, double[])

  • Declared in: RT.Modeling.Pt

Declaration

public PointD ProjectOntoCamera(
    Pt cameraPosition,
    double[] cameraMatrix
)

Summary

Projects a point onto a 2D canvas using a linear-transformation matrix.

Parameters

PtcameraPosition The position of the camera in 3D space.
double[]cameraMatrix A matrix such as one obtained from Pt.GetCameraMatrix(Pt, Pt?).

Returns

The projected 2D point.

See also