You are here: Start » FIL.NET » FIS.ProjectPointPerspective Method

FIS.ProjectPointPerspective Method

Converts a point through a perspective projection, parallel to the Z axis.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void ProjectPointPerspective
(
	FilNet.Point3D inPoint3D,
	FilNet.Point2D inCenter,
	FilNet.Point3D inFocalPoint,
	float inFocalLength,
	out FilNet.Point2D outPoint2D
)

Parameters

Name Type Range Default Description
inPoint3DFilNet.Point3D
inCenterFilNet.Point2DCenter of projection, i.e. the target for projected points (x_focal, y_focal, z).
inFocalPointFilNet.Point3DThe camera center, i.e. the point we measure (x, y, z) against.
inFocalLengthfloatThe multiplier for the x and y coordinates, which is divided by z. If negative, projects in opposite direction.
outPoint2DFilNet.Point2D

See also