Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.Vector2D.Barycentric

Malware edited this page Dec 25, 2018 · 19 revisions

IndexVector2D

csharp[Vector2D](VRageMath.Vector2D) Barycentric([Vector2D](VRageMath.Vector2D) value1, [Vector2D](VRageMath.Vector2D) value2, [Vector2D](VRageMath.Vector2D) value3, [double](System.Double) amount1, [double](System.Double) amount2)##### Summary

Returns a Vector2D containing the 2D Cartesian coordinates of a point specified in barycentric (areal) coordinates relative to a 2D triangle.

csharpvoid Barycentric(ref [Vector2D](VRageMath.Vector2D) value1, ref [Vector2D](VRageMath.Vector2D) value2, ref [Vector2D](VRageMath.Vector2D) value3, [double](System.Double) amount1, [double](System.Double) amount2, ref [Vector2D](VRageMath.Vector2D) result)##### Summary

Returns a Vector2D containing the 2D Cartesian coordinates of a point specified in barycentric (areal) coordinates relative to a 2D triangle.

Clone this wiki locally