Click or drag to resize

Math3DGetVectorSymmetricalToPlane Method

Calculates a vector which is symmetrical to the provided vector n with respect to the symmetry plane given by the normal q. The result corresponds to reflecting a ray on a mirror described by the plane.

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static VectorD3D GetVectorSymmetricalToPlane(
	VectorD3D n,
	VectorD3D q
)

Parameters

n  VectorD3D
The vector for which to find the symmetrical counterpart. Not required to be normalized.
q  VectorD3D
Normal of a plane where the vector n is mirrored. Not required to be normalized.

Return Value

VectorD3D
A vector symmetrical to n with respect to the symmetry plane given by the normal q.
See Also