Click or drag to resize

VectorDivision Operator

[This is preliminary documentation and is subject to change.]

Perform scalar division on a vector (= scale a vector) If the scalar value is bigger than 1, it will change the magnitude of the vector (make it shorter) If the scalar value is lesser than 1 but bigger than 0, it will change the magnitude of the vector (make it longer) If the scalar value is bigger than -1 but lesser than 0, it will reverse the direction and change its magnitude (make it longer) If the scalar value is -1, it will reverse the direction of the vector but not change its magnitude If the scalar value is lesser than -1, it will reverse the direction and change its magnitude (make it shorter)

Namespace:  Infrastructure.Geometry
Assembly:  Infrastructure.Geometry (in Infrastructure.Geometry.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public static Vector operator /(
	Vector vectorToScale,
	double scalar
)

Parameters

vectorToScale
Type: Infrastructure.GeometryVector
The vector to scale
scalar
Type: SystemDouble
The scalar value to scale the vector with

Return Value

Type: Vector
A new vector which is the scaled version of the provided vector
See Also