Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.Vector3D.Barycentric

Malware edited this page Dec 25, 2018 · 18 revisions

IndexVector3D

Summary

private public private public sealed struct.Vector3D Barycentric(private public sealed struct.Vector3D value1, private public sealed struct.Vector3D value2, private public sealed struct.Vector3D value3, double amount1, double amount2)

Returns a Vector3 containing the 3D Cartesian coordinates of a point specified in Barycentric coordinates relative to a 3D triangle.

Returns

Example

Remarks

Summary

private public void Barycentric(ref private public sealed struct.Vector3D value1, ref private public sealed struct.Vector3D value2, ref private public sealed struct.Vector3D value3, double amount1, double amount2, ref private public sealed struct.Vector3D result)

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

Returns

Example

Remarks

Summary

private public void Barycentric(private public sealed struct.Vector3D p, private public sealed struct.Vector3D a, private public sealed struct.Vector3D b, private public sealed struct.Vector3D c, ref double u, ref double v, ref double w)

Compute barycentric coordinates (u, v, w) for point p with respect to triangle (a, b, c) From : Real-Time Collision Detection, Christer Ericson, CRC Press 3.4 Barycentric Coordinates

Returns

Example

Remarks

Clone this wiki locally