Built-in functions for 3d calculations
<p>In my current project, I need to do some calculations in 3d space, like calculating intersection points of lines with planes, determining if a point is inside a triangle / rectangle / (flat) polygon etc.</p>

<p>The <code>Systems.Windows.Media.Media3D</code> namespace offers some functionality for those purposes like cross and dot products of 3d vectors. Sadly, I cannot find good tutorials on the functionality of that namespace - most tutorials deal with drawing which is not relevant for me. Just from intellisense, it is hard to figure out what's available, and some methods are static instead of instance methods (e.g. <code>Point3D.Substract</code>). And many Google searches point to functionality of the Xna namespace - which seems unavailable on Windows 8 / 10.</p>

<p>Are there other "common" namespaces in the .Net framework for such calculations?</p>

<p>Or do you know good tutorials for calculations with Media3d?</p>

<p>Of course, I could write my own library for that, but that feels like re-inventing the wheel.</p>