API Reference > geometry-core > CartesianGeometry > Ray3d > tryNormalizeInPlaceWithAreaWeight tryNormalizeInPlaceWithAreaWeight Method If parameter a is clearly nonzero and the direction vector can be normalized, save the parameter a as the optional a member of the ray. normalize the ray's direction vector If parameter a is nearly zero, Set the a member to zero Set the ray's direction vector to zero. tryNormalizeInPlaceWithAreaWeight(a: number): boolean Parameter Type Description a number area to be saved. Returns - boolean Defined in core/geometry/src/geometry3d/Ray3d.ts Line 225 Last Updated: 13 June, 2024