Click or drag to resize

Math3DGet2DProjectionToPlaneToPlane Method

Creates a transformation matrix that does the following: First, it converts a 2D point into a 3D coordinate system with the origin given by p, and the unit vectors e and n. Then the thus created 3D point is projected in the direction of v onto a plane that is defined by the same point p on the plane and the plane's normal q.

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Matrix4x3 Get2DProjectionToPlaneToPlane(
	VectorD3D e,
	VectorD3D n,
	VectorD3D v,
	PointD3D p,
	VectorD3D q
)

Parameters

e  VectorD3D
East vector: Spans one dimension of the projection of the 2D points to a 3D plane.
n  VectorD3D
North vector: Spans the other dimension of the projection of the 2D input points to a 3D plane.
v  VectorD3D
Direction of the projection of the 3D points to a plane.
p  PointD3D
Origin of the coordinate system, and point on the projection plane, too.
q  VectorD3D
Normal of the projection plane.

Return Value

Matrix4x3
Matrix that transforms 2D points to a plane. (The 2D points are in fact 3D points with a z-coordinate that is ignored.
See Also