You are here: Start » AVL.NET » AVS.ProjectPointPerspective Method
AVS.ProjectPointPerspective Method
Converts a point through a perspective projection, parallel to the Z axis.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void ProjectPointPerspective ( AvlNet.Point3D inPoint3D, AvlNet.Point2D inCenter, AvlNet.Point3D inFocalPoint, float inFocalLength, out AvlNet.Point2D outPoint2D )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint3D | AvlNet.Point3D | ||||
inCenter | AvlNet.Point2D | Center of projection, i.e. the target for projected points (x_focal, y_focal, z). | |||
inFocalPoint | AvlNet.Point3D | The camera center, i.e. the point we measure (x, y, z) against. | |||
inFocalLength | float | The multiplier for the x and y coordinates, which is divided by z. If negative, projects in opposite direction. | |||
outPoint2D | AvlNet.Point2D |