Initializes a new instance of the Posit class.

Namespace:  AForge.Math.Geometry
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public Posit(
	Vector3[] model,
	float focalLength
)

Parameters

model
Type: array< AForge.Math..::.Vector3 >[]()[]
Array of vectors containing coordinates of four real model's point (points must not be on the same plane).
focalLength
Type: System..::.Single
Effective focal length of the camera used to capture the model.

Exceptions

ExceptionCondition
System..::.ArgumentExceptionThe model must have 4 points.

See Also