Click or drag to resize

Vector3dDecompose Method

Find scalars x and y so that the component of v in the plane of a and b is x*a + y*b

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public static bool Decompose(
	Vector3d v,
	Vector3d a,
	Vector3d b,
	out double x,
	out double y
)

Parameters

v
Type: Rhino.GeometryVector3d
a
Type: Rhino.GeometryVector3d
non-zero and not parallel to b
b
Type: Rhino.GeometryVector3d
non-zero and not parallel to a
x
Type: SystemDouble
y
Type: SystemDouble

Return Value

Type: Boolean
true if the decomposition is successful.
See Also