Click or drag to resize

UtilsTo3D Method

Converts the two dimensional vector to 3D by inserting a value for the other axis.

Namespace: RAYLASE.Marker.VectorGraphicElement
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntax
C#
public static dvec3 To3D(
	this dvec2 value,
	CartesianAxis projection,
	double otherAxis = 0
)

Parameters

value  dvec2
Vector to convert.
projection  CartesianAxis
Projection.
otherAxis  Double  (Optional)
Value for the new axis.

Return Value

dvec3

[Missing <returns> documentation for "M:RAYLASE.Marker.VectorGraphicElement.Utils.To3D(GlmSharp.dvec2,RAYLASE.Marker.Common.CartesianAxis,System.Double)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type dvec2. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentExceptionThrown if projected axis is unknown.
See Also