Depiction Engine For Unity 2023.0 (Alpha)
Loading...
Searching...
No Matches
DepictionEngine.MathGeometry Class Reference

Math Geometry helper methods. More...

Static Public Member Functions

static bool LineSegmentsIntersection (out Vector2Double intersection, Vector2Double point1, Vector2Double point2, Vector2Double point3, Vector2Double point4)
 
static bool CylinderCircleIntersection (out Vector3Double[] intersections, Vector3Double cylinderNormal, double cylinderRadius, double geoAstroObjectRadius, double circleRadius, Vector3Double circleCenter)
 
static bool CylinderLineIntersection (out Vector3Double[] intersections, Vector3Double cylinderCenter, Vector3Double cylinderNormal, double cylinderRadius, Vector3Double lineOrigin, Vector3Double lineDirection)
 
static bool LinePlaneIntersection (out Vector3Double intersection, Vector3Double planeCenter, Vector3Double planeNormal, RayDouble ray, bool castLineBothDirection=true)
 
static bool LineSphereIntersection (out Vector3Double intersection, double radius, RayDouble ray)
 
static bool PlaneCircleIntersection (out Vector3Double[] intersections, Vector3Double planeCenter, Vector3Double planeNormal, Vector3Double circleCenter, double circleRadius)
 
static bool LineCircleIntersection (out Vector2Double intersection1, double radius, Vector2Double point1, Vector2Double point2)
 
static void LineCircleIntersections (out Vector2Double intersection1, out Vector2Double intersection2, double radius, Vector2Double point1, Vector2Double point2)
 
static void GetCircleToCircleIntersections (out Vector2Double intersection1, out Vector2Double intersection2, double radius1, Vector2Double circleCenter, double radius2)
 

Detailed Description

Math Geometry helper methods.


The documentation for this class was generated from the following file: