@ac-kit/math-geometry
Type Aliases
Section titled “Type Aliases”- Box3
- Box4
- Circle2
- CylindricalCoords
- CylindricalCoordsY
- CylindricalCoordsZ
- EulerAngles
- EulerOrder
- Line2
- Line3
- Mesh3
- Plane3
- Point2
- Point3
- Point4
- PolarCoords
- Polygon2
- Polygon3
- PolygonalPolarCoords
- PolygonalPolarSystem
- Ray2
- Ray3
- Rect2
- RectLtrb
- Segment2
- Segment3
- Size2
- Size3
- Size4
- Sphere3
- SphericalCoords
- SphericalCoordsY
- SphericalCoordsZ
- Triangle2
- Triangle3
Variables
Section titled “Variables”Functions
Section titled “Functions”- angleDistanceDeg
- angleDistanceRad
- angleLerpDeg
- angleLerpRad
- angleNormalizeDeg
- angleNormalizeRad
- angleWrapDeg
- angleWrapRad
- box3Center
- box3Contains
- box3ContainsPoint
- box3Equals
- box3Intersection
- box3Intersects
- box3Translate
- box3Union
- box3Volume
- box4Equals
- circle2Area
- circle2Circumference
- circle2ContainsPoint
- circle2Equals
- circle2Intersects
- circle2IsClose
- circle2Translate
- cylindricalYToVec3
- cylindricalZToVec3
- eulerAnglesEqual
- eulerAnglesIsClose
- eulerAnglesNormalize
- eulerAnglesToMat4x4
- eulerAnglesToQuaternion
- line2ClosestPoint
- line2ContainsPoint
- line2DistanceToPoint
- line2Equals
- line2Intersect
- line3ClosestPoint
- line3ContainsPoint
- line3DistanceToPoint
- line3Equals
- ltrbToRect2
- mat4x4ToEulerAngles
- mesh3BoundingBox
- mesh3Centroid
- mesh3Equals
- mesh3FaceCount
- mesh3FaceNormal
- mesh3FaceTriangle
- mesh3SurfaceArea
- mesh3VertexCount
- mesh3VertexNormals
- ndcToPoint2
- plane3ContainsPoint
- plane3DistanceToPoint
- plane3Equals
- plane3Flip
- plane3Normalize
- plane3ProjectPoint
- point2Clamp
- point2CompareLexicographic
- point2DisplacementTo
- point2Distance
- point2Equals
- point2IsClose
- point2Lerp
- point2Max
- point2Midpoint
- point2Min
- point2Round
- point2ToNdc
- point2ToUv
- point2ToVec2
- point2Translate
- point3Clamp
- point3CompareLexicographic
- point3DisplacementTo
- point3Distance
- point3Equals
- point3IsClose
- point3Lerp
- point3Max
- point3Midpoint
- point3Min
- point3Round
- point3ToVec3
- point3Translate
- point4Distance
- point4Equals
- point4Lerp
- point4ToVec4
- polarToVec2
- polygon2Area
- polygon2BoundingBox
- polygon2Centroid
- polygon2ContainsPoint
- polygon2Equals
- polygon2IsConvex
- polygon2Perimeter
- polygon2SignedArea
- polygon2Triangulate
- polygon3Area
- polygon3BoundingBox
- polygon3Centroid
- polygon3Equals
- polygon3Normal
- polygon3Perimeter
- polygon3Triangulate
- polygonalPolarToVec2
- quaternionToEulerAngles
- ray2At
- ray2ClosestPoint
- ray2DistanceToPoint
- ray2Equals
- ray3At
- ray3ClosestPoint
- ray3DistanceToPoint
- ray3Equals
- ray3IntersectPlane
- ray3IntersectSphere
- rect2Bottom
- rect2BottomRight
- rect2Center
- rect2Clamp
- rect2Contains
- rect2ContainsPoint
- rect2Equals
- rect2FitInside
- rect2Inflate
- rect2Inset
- rect2Intersect
- rect2Intersection
- rect2Lerp
- rect2Right
- rect2ToLtrb
- rect2Translate
- rect2Union
- segment2ClosestPoint
- segment2DistanceToPoint
- segment2Equals
- segment2Intersect
- segment2Length
- segment2Midpoint
- segment3ClosestPoint
- segment3DistanceToPoint
- segment3Equals
- segment3Length
- segment3Midpoint
- size2Area
- size2AspectRatio
- size2Clamp
- size2Contains
- size2Equals
- size2IsClose
- size2IsZero
- size2Lerp
- size2Max
- size2Min
- size2Round
- size2Scale
- size2ScaleToFill
- size2ScaleToFit
- size3Clamp
- size3Equals
- size3Lerp
- size3Max
- size3Min
- size3Round
- size3Scale
- size3ScaleToFit
- size3Volume
- size4Equals
- size4Scale
- sphere3ContainsPoint
- sphere3Equals
- sphere3Intersects
- sphere3SurfaceArea
- sphere3Translate
- sphere3Volume
- sphericalYToVec3
- sphericalZToVec3
- triangle2Area
- triangle2Centroid
- triangle2ContainsPoint
- triangle2Equals
- triangle2Perimeter
- triangle3Area
- triangle3Centroid
- triangle3ContainsPoint
- triangle3Equals
- triangle3Normal
- uvToPoint2
- vec2ToPoint2
- vec2ToPolar
- vec2ToPolygonalPolar
- vec3ToCylindricalY
- vec3ToCylindricalZ
- vec3ToPoint3
- vec3ToSphericalY
- vec3ToSphericalZ
- vec4ToPoint4