Freya

From KitHack Model Club Wiki
Jump to navigation Jump to search

Back to SDK API Reference

Freya

Freya.Circle

  • Method: Single get_Area()
  • Method: Single get_Circumference()
  • Method: Single RadiusToArea(Single r)
  • Method: Single AreaToRadius(Single area)
  • Method: Single AreaToCircumference(Single area)
  • Method: Single CircumferenceToArea(Single c)
  • Method: Single RadiusToCircumference(Single r)
  • Method: Single CircumferenceToRadius(Single c)
  • Method: Circle FromTwoPoints(Vector2 a, Vector2 b)
  • Method: Boolean FromPointTangentPoint(Vector2 startPt, Vector2 startTangent, Vector2 endPt, Circle& circle)
  • Method: Boolean FromThreePoints(Vector2 a, Vector2 b, Vector2 c, Circle& circle)
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: Single Area
  • Property: Single Circumference
  • Field: Vector2 center
  • Field: Single radius

Freya.MathfsExtensions

  • Method: Single Angle(Vector2 v)
  • Method: Vector2 Rotate90CW(Vector2 v)
  • Method: Vector2 Rotate90CCW(Vector2 v)
  • Method: Vector2 RotateAround(Vector2 v, Vector2 pivot, Single angRad)
  • Method: Vector2 Rotate(Vector2 v, Single angRad)
  • Method: Vector2 V2(Vector3 v)
  • Method: Vector3 V3(Vector2 v, Single y)
  • Method: Single Frac(Single v)
  • Method: Vector2 Frac(Vector2 v)
  • Method: Vector3 Frac(Vector3 v)
  • Method: Vector4 Frac(Vector4 v)
  • Method: Single Clamp01(Single v)
  • Method: Single ClampNeg1to1(Single v)
  • Method: Vector2 Clamp01(Vector2 v)
  • Method: Vector3 Clamp01(Vector3 v)
  • Method: Vector4 Clamp01(Vector4 v)
  • Method: Single Min(Vector2 v)
  • Method: Single Min(Vector3 v)
  • Method: Single Min(Vector4 v)
  • Method: Single Max(Vector2 v)
  • Method: Single Max(Vector3 v)
  • Method: Single Max(Vector4 v)
  • Method: Vector2 WithMagnitude(Vector2 v, Single mag)
  • Method: Vector3 WithMagnitude(Vector3 v, Single mag)
  • Method: Vector2 ClampMagnitude(Vector2 v, Single min, Single max)
  • Method: Vector3 ClampMagnitude(Vector3 v, Single min, Single max)
  • Method: Vector3 FlattenY(Vector3 v)
  • Method: Vector3 FlattenX(Vector3 v)
  • Method: Vector3 FlattenZ(Vector3 v)
  • Method: Vector2 To(Vector2 v, Vector2 target)
  • Method: Vector3 To(Vector3 v, Vector3 target)
  • Method: Vector2 DirTo(Vector2 v, Vector2 target)
  • Method: Vector3 DirTo(Vector3 v, Vector3 target)
  • Method: Vector2 Floor(Vector2 v)
  • Method: Vector3 Floor(Vector3 v)
  • Method: Vector4 Floor(Vector4 v)
  • Method: Vector2 Ceil(Vector2 v)
  • Method: Vector3 Ceil(Vector3 v)
  • Method: Vector4 Ceil(Vector4 v)
  • Method: Vector2 Round(Vector2 v)
  • Method: Vector2Int RoundToInt(Vector2 v)
  • Method: Vector3 Round(Vector3 v)
  • Method: Vector3Int RoundToInt(Vector3 v)
  • Method: Vector4 Round(Vector4 v)
  • Method: Color WithAlpha(Color c, Single a)
  • Method: Color MultiplyRGB(Color c, Single m)
  • Method: Color MultiplyRGB(Color c, Color m)
  • Method: Color MultiplyA(Color c, Single m)
  • Method: Single Round(Single v, Single snapInterval)
  • Method: Boolean Within(Single v, Single min, Single max)
  • Method: Boolean Between(Single v, Single min, Single max)
  • Method: Single AtLeast(Single v, Single min)
  • Method: Single AtMost(Single v, Single max)
  • Method: Single Square(Single v)
  • Method: Single Abs(Single v)
  • Method: Single Magnitude(Single v)
  • Method: Single Clamp(Single v, Single min, Single max)
  • Method: Single Remap(Single v, Single iMin, Single iMax, Single oMin, Single oMax)
  • Method: Single Repeat(Single v, Single length)
  • Method: Int32 Mod(Int32 value, Int32 length)
  • Method: Int32 NextMod(Int32 value, Int32 length)
  • Method: Int32 PrevMod(Int32 value, Int32 length)
  • Method: Int32 RoundToInt(Single v)
  • Method: Int32 FloorToInt(Single v)
  • Method: Int32 CeilToInt(Single v)
  • Method: Single Degs(Single v)
  • Method: Single Rads(Single v)
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Method: String ToString()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()

Freya.Intersect

  • Method: Boolean BoundsTestRay(Single t)
  • Method: Boolean BoundsTestLineSegment(Single t)
  • Method: Boolean Rays(Ray2D a, Ray2D b)
  • Method: Boolean Rays(Vector2 aOrigin, Vector2 aDir, Vector2 bOrigin, Vector2 bDir)
  • Method: Boolean Rays(Ray2D a, Ray2D b, Vector2& intersectionPoint)
  • Method: Boolean Rays(Vector2 aOrigin, Vector2 aDir, Vector2 bOrigin, Vector2 bDir, Vector2& intersectionPoint)
  • Method: Boolean RayLineSegment(Ray2D ray, LineSegment2D lineSegment)
  • Method: Boolean RayLineSegment(Vector2 rayOrigin, Vector2 rayDir, Vector2 lineSegStart, Vector2 lineSegEnd)
  • Method: Boolean RayLineSegment(Vector2 rayOrigin, Vector2 rayDir, Vector2 lineSegStart, Vector2 lineSegEnd, Vector2& intersectionPoint)
  • Method: Boolean RayLineSegment(Ray2D ray, LineSegment2D lineSegment, Vector2& intersectionPoint)
  • Method: Boolean RayLine(Ray2D ray, Line2D line)
  • Method: Boolean RayLine(Vector2 rayOrigin, Vector2 rayDir, Vector2 lineOrigin, Vector2 lineDir)
  • Method: Boolean RayLine(Vector2 rayOrigin, Vector2 rayDir, Vector2 lineOrigin, Vector2 lineDir, Vector2& intersectionPoint)
  • Method: Boolean RayLine(Ray2D ray, Line2D line, Vector2& intersectionPoint)
  • Method: Int32 RayCircle(Vector2 rayOrigin, Vector2 rayDir, Vector2 circleCenter, Single circleRadius, Vector2& intsctPtA, Vector2& intsctPtB)
  • Method: Int32 RayCircle(Ray2D ray, Circle circle, Vector2& intsctPtA, Vector2& intsctPtB)
  • Method: Int32 RayCircle(Vector2 rayOrigin, Vector2 rayDir, Vector2 circleCenter, Single circleRadius)
  • Method: Int32 RayCircle(Ray2D ray, Circle circle)
  • Method: Boolean LineSegments(Vector2 aStart, Vector2 aEnd, Vector2 bStart, Vector2 bEnd, Vector2& intersectionPoint)
  • Method: Boolean LineSegments(LineSegment2D a, LineSegment2D b, Vector2& intersectionPoint)
  • Method: Boolean LineSegments(Vector2 aStart, Vector2 aEnd, Vector2 bStart, Vector2 bEnd)
  • Method: Boolean LineSegments(LineSegment2D a, LineSegment2D b)
  • Method: Boolean LineSegmentLine(Vector2 lineSegStart, Vector2 lineSegEnd, Vector2 lineOrigin, Vector2 lineDir, Vector2& intersectionPoint)
  • Method: Boolean LineSegmentLine(LineSegment2D lineSegment, Line2D line, Vector2& intersectionPoint)
  • Method: Boolean LineSegmentLine(Vector2 lineSegStart, Vector2 lineSegEnd, Vector2 lineOrigin, Vector2 lineDir)
  • Method: Boolean LineSegmentLine(LineSegment2D lineSegment, Line2D line)
  • Method: Int32 LineSegmentCircle(Vector2 lineStart, Vector2 lineEnd, Vector2 circleCenter, Single circleRadius, Vector2& intsctPtA, Vector2& intsctPtB)
  • Method: Int32 LineSegmentCircle(LineSegment2D lineSegment, Circle circle, Vector2& intsctPtA, Vector2& intsctPtB)
  • Method: Int32 LineSegmentCircle(Vector2 lineStart, Vector2 lineEnd, Vector2 circleCenter, Single circleRadius)
  • Method: Int32 LineSegmentCircle(LineSegment2D lineSegment, Circle circle)
  • Method: Boolean Lines(Vector2 aOrigin, Vector2 aDir, Vector2 bOrigin, Vector2 bDir, Vector2& intersectionPoint)
  • Method: Boolean Lines(Line2D a, Line2D b, Vector2& intersectionPoint)
  • Method: Boolean LineCircle(Vector2 lineStart, Vector2 lineDir, Vector2 circleCenter, Single circleRadius, Vector2& intsctPtA, Vector2& intsctPtB)
  • Method: Boolean LineCircle(Line2D line, Circle circle, Vector2& intsctPtA, Vector2& intsctPtB)
  • Method: Boolean LineCircle(Vector2 lineStart, Vector2 lineDir, Vector2 circleCenter, Single circleRadius)
  • Method: Boolean LineCircle(Line2D line, Circle circle)
  • Method: Boolean Circles(Circle a, Circle b, Vector2& intsctPtA, Vector2& intsctPtB)
  • Method: Boolean Discs(Circle a, Circle b)
  • Method: Boolean Circles(Circle a, Circle b)
  • Method: Boolean Parallel(Vector2 aDir, Vector2 bDir)
  • Method: Boolean GetLineLineTValues(Vector2 aToB, Vector2 aDir, Vector2 bDir, Single& tA, Single& tB)
  • Method: Boolean GetLineLineTValue(Vector2 aToB, Vector2 aDir, Vector2 bDir, Single& tA)
  • Method: Void GetLineCircleIntersectionValues(Vector2 aOrigin, Vector2 aDir, Vector2 circleCenter, Single radius, Single& a, Single& b, Single& discriminant)
  • Method: Boolean GetLineCircleTValues(Vector2 aOrigin, Vector2 aDir, Vector2 circleCenter, Single radius, Single& tA, Single& tB)
  • Method: Boolean GetLineCircleIntersectionState(Vector2 aOrigin, Vector2 aDir, Vector2 circleCenter, Single radius)
  • Method: Int32 GetLineCircleIntersectionCountFiltered(Vector2 aOrigin, Vector2 aDir, Vector2 cCenter, Single r, Func`2 InValidRange)
  • Method: Int32 GetLineCircleIntersectionPointsFiltered(Vector2 aOrigin, Vector2 aDir, Vector2 cCenter, Single r, Func`2 InValidRange, Vector2& pA, Vector2& pB)
  • Method: Int32 GetLineCircleIntersectionPointsUnfiltered(Vector2 aOrigin, Vector2 aDir, Vector2 cCenter, Single r, Vector2& pA, Vector2& pB)
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Method: String ToString()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Field: Single PARALLEL_DETERMINANT_THRESHOLD

Freya.Line2D

  • Method: Vector2 GetPoint(Single t)
  • Method: Vector2 ProjectPointToLine(Vector2 lineOrigin, Vector2 lineDir, Vector2 point)
  • Method: Vector2 ProjectPointToLine(Line2D line, Vector2 point)
  • Method: Single PointToPlaneSignedDistance(Vector2 planeOrigin, Vector2 planeNormal, Vector2 point)
  • Method: Single PointToPlaneDistance(Vector2 planeOrigin, Vector2 planeNormal, Vector2 point)
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Field: Vector2 origin
  • Field: Vector2 dir

Freya.LineSegment2D

  • Method: Vector2 GetPoint(Single t)
  • Method: Single get_Length()
  • Method: Line2D BisectorFast()
  • Method: Line2D Bisector()
  • Method: Line2D GetBisectorFast(Vector2 startPoint, Vector2 endPoint)
  • Method: Line2D GetBisector(Vector2 startPoint, Vector2 endPoint)
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: Single Length
  • Field: Vector2 start
  • Field: Vector2 end

Freya.Mathfs

  • Method: Single Sqrt(Single value)
  • Method: Single Pow(Single base, Single exponent)
  • Method: Single Exp(Single power)
  • Method: Single Log(Single value, Single base)
  • Method: Single Log(Single value)
  • Method: Single Log10(Single value)
  • Method: Boolean Approximately(Single a, Single b)
  • Method: Single Sin(Single angRad)
  • Method: Single Cos(Single angRad)
  • Method: Single Tan(Single angRad)
  • Method: Single Asin(Single value)
  • Method: Single Acos(Single value)
  • Method: Single Atan(Single value)
  • Method: Single Atan2(Single y, Single x)
  • Method: Single Csc(Single x)
  • Method: Single Sec(Single x)
  • Method: Single Cot(Single x)
  • Method: Single Ver(Single x)
  • Method: Single Cvs(Single x)
  • Method: Single Crd(Single x)
  • Method: Single Abs(Single value)
  • Method: Int32 Abs(Int32 value)
  • Method: Vector2 Abs(Vector2 v)
  • Method: Vector3 Abs(Vector3 v)
  • Method: Vector4 Abs(Vector4 v)
  • Method: Single Clamp(Single value, Single min, Single max)
  • Method: Int32 Clamp(Int32 value, Int32 min, Int32 max)
  • Method: Single Clamp01(Single value)
  • Method: Single ClampNeg1to1(Single value)
  • Method: Single Min(Single a, Single b)
  • Method: Single Min(Single a, Single b, Single c)
  • Method: Single Min(Single a, Single b, Single c, Single d)
  • Method: Single Max(Single a, Single b)
  • Method: Single Max(Single a, Single b, Single c)
  • Method: Single Max(Single a, Single b, Single c, Single d)
  • Method: Int32 Min(Int32 a, Int32 b)
  • Method: Int32 Min(Int32 a, Int32 b, Int32 c)
  • Method: Int32 Max(Int32 a, Int32 b)
  • Method: Int32 Max(Int32 a, Int32 b, Int32 c)
  • Method: Single Min(Single[] values)
  • Method: Single Max(Single[] values)
  • Method: Int32 Min(Int32[] values)
  • Method: Int32 Max(Int32[] values)
  • Method: Int32 Sign(Single value)
  • Method: Int32 Sign(Int32 value)
  • Method: Int32 SignWithZero(Int32 value)
  • Method: Int32 SignWithZero(Single value, Single epsilon)
  • Method: Single Floor(Single value)
  • Method: Vector2 Floor(Vector2 value)
  • Method: Vector3 Floor(Vector3 value)
  • Method: Vector4 Floor(Vector4 value)
  • Method: Single Ceil(Single value)
  • Method: Single Round(Single value)
  • Method: Single Round(Single value, Single snapInterval)
  • Method: Int32 FloorToInt(Single value)
  • Method: Int32 CeilToInt(Single value)
  • Method: Int32 RoundToInt(Single value)
  • Method: Single Frac(Single x)
  • Method: Vector2 Frac(Vector2 x)
  • Method: Vector3 Frac(Vector3 x)
  • Method: Vector4 Frac(Vector4 x)
  • Method: Single Repeat(Single value, Single length)
  • Method: Int32 Mod(Int32 value, Int32 length)
  • Method: Single PingPong(Single t, Single length)
  • Method: Single Smooth01(Single x)
  • Method: Single Smoother01(Single x)
  • Method: Single SmoothCos01(Single x)
  • Method: Single Gamma(Single value, Single absmax, Single gamma)
  • Method: Single InverseLerp(Single a, Single b, Single value)
  • Method: Single InverseLerpClamped(Single a, Single b, Single value)
  • Method: Single Lerp(Single a, Single b, Single t)
  • Method: Single LerpClamped(Single a, Single b, Single t)
  • Method: Single Eerp(Single a, Single b, Single t)
  • Method: Single InverseEerp(Single a, Single b, Single v)
  • Method: Vector2 Lerp(Vector2 a, Vector2 b, Vector2 t)
  • Method: Vector2 InverseLerp(Vector2 a, Vector2 b, Vector2 v)
  • Method: Vector2 Remap(Rect iRect, Rect oRect, Vector2 iPos)
  • Method: Vector2 Remap(Vector2 iMin, Vector2 iMax, Vector2 oMin, Vector2 oMax, Vector2 value)
  • Method: Single Remap(Single iMin, Single iMax, Single oMin, Single oMax, Single value)
  • Method: Single RemapClamped(Single iMin, Single iMax, Single oMin, Single oMax, Single value)
  • Method: Single InverseLerpSmooth(Single a, Single b, Single value)
  • Method: Single LerpSmooth(Single a, Single b, Single t)
  • Method: Single MoveTowards(Single current, Single target, Single maxDelta)
  • Method: Single SmoothDamp(Single current, Single target, Single& currentVelocity, Single smoothTime, Single maxSpeed)
  • Method: Single SmoothDamp(Single current, Single target, Single& currentVelocity, Single smoothTime)
  • Method: Single SmoothDamp(Single current, Single target, Single& currentVelocity, Single smoothTime, Single maxSpeed, Single deltaTime)
  • Method: Single Determinant(Vector2 a, Vector2 b)
  • Method: Vector2 Dir(Vector2 from, Vector2 to)
  • Method: Vector3 Dir(Vector3 from, Vector3 to)
  • Method: Vector2 FromTo(Vector2 from, Vector2 to)
  • Method: Vector3 FromTo(Vector3 from, Vector3 to)
  • Method: Vector2 CenterPos(Vector2 a, Vector2 b)
  • Method: Vector3 CenterPos(Vector3 a, Vector3 b)
  • Method: Vector2 CenterDir(Vector2 aDir, Vector2 bDir)
  • Method: Vector3 CenterDir(Vector3 aDir, Vector3 bDir)
  • Method: Vector2 Rotate90CW(Vector2 v)
  • Method: Vector2 Rotate90CCW(Vector2 v)
  • Method: Single DistanceSquared(Vector2 a, Vector2 b)
  • Method: Single DistanceSquared(Vector3 a, Vector3 b)
  • Method: Single DistanceSquared(Vector4 a, Vector4 b)
  • Method: Vector2 AngToDir(Single aRad)
  • Method: Single DirToAng(Vector2 dir)
  • Method: Single SignedAngle(Vector2 a, Vector2 b)
  • Method: Single AngleBetween(Vector2 a, Vector2 b)
  • Method: Single AngleFromToCW(Vector2 from, Vector2 to)
  • Method: Single AngleFromToCCW(Vector2 from, Vector2 to)
  • Method: Single LerpAngle(Single aRad, Single bRad, Single t)
  • Method: Single DeltaAngle(Single a, Single b)
  • Method: Single InverseLerpAngle(Single a, Single b, Single v)
  • Method: Single MoveTowardsAngle(Single current, Single target, Single maxDelta)
  • Method: Single SmoothDampAngle(Single current, Single target, Single& currentVelocity, Single smoothTime, Single maxSpeed)
  • Method: Single SmoothDampAngle(Single current, Single target, Single& currentVelocity, Single smoothTime)
  • Method: Single SmoothDampAngle(Single current, Single target, Single& currentVelocity, Single smoothTime, Single maxSpeed, Single deltaTime)
  • Method: Single GetLinearRoot(Single a, Single b)
  • Method: Boolean TryGetLinearRoot(Single a, Single b, Single& root)
  • Method: PolynomialType GetPolynomialType(Single a, Single b, Single c)
  • Method: List`1 GetQuadraticRoots(Single a, Single b, Single c)
  • Method: Vector2 SquareToDisc(Vector2 c)
  • Method: Vector2 DiscToSquare(Vector2 c)
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Method: String ToString()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Field: Single Epsilon
  • Field: Single TAU
  • Field: Single PI
  • Field: Single E
  • Field: Single GOLDEN_RATIO
  • Field: Single SQRT2
  • Field: Single Infinity
  • Field: Single NegativeInfinity
  • Field: Single Deg2Rad
  • Field: Single Rad2Deg

Freya.Mathfs+PolynomialType

  • Method: Boolean HasFlag(Enum flag)
  • Method: Object GetValue()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Method: Int32 CompareTo(Object target)
  • Method: String ToString()
  • Method: String ToString(String format)
  • Method: String ToString(IFormatProvider provider)
  • Method: String ToString(String format, IFormatProvider provider)
  • Method: Boolean System.ISpanFormattable.TryFormat(Span`1 destination, Int32& charsWritten, ReadOnlySpan`1 format, IFormatProvider provider)
  • Method: TypeCode GetTypeCode()
  • Method: Boolean System.IConvertible.ToBoolean(IFormatProvider provider)
  • Method: Char System.IConvertible.ToChar(IFormatProvider provider)
  • Method: SByte System.IConvertible.ToSByte(IFormatProvider provider)
  • Method: Byte System.IConvertible.ToByte(IFormatProvider provider)
  • Method: Int16 System.IConvertible.ToInt16(IFormatProvider provider)
  • Method: UInt16 System.IConvertible.ToUInt16(IFormatProvider provider)
  • Method: Int32 System.IConvertible.ToInt32(IFormatProvider provider)
  • Method: UInt32 System.IConvertible.ToUInt32(IFormatProvider provider)
  • Method: Int64 System.IConvertible.ToInt64(IFormatProvider provider)
  • Method: UInt64 System.IConvertible.ToUInt64(IFormatProvider provider)
  • Method: Single System.IConvertible.ToSingle(IFormatProvider provider)
  • Method: Double System.IConvertible.ToDouble(IFormatProvider provider)
  • Method: Decimal System.IConvertible.ToDecimal(IFormatProvider provider)
  • Method: DateTime System.IConvertible.ToDateTime(IFormatProvider provider)
  • Method: Object System.IConvertible.ToType(Type type, IFormatProvider provider)
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Field: Int32 value__
  • Field: PolynomialType Constant
  • Field: PolynomialType Linear
  • Field: PolynomialType Quadratic

Freya.Polygon

  • Method: Boolean IsClockwise(IReadOnlyList`1 pts)
  • Method: Single Area(IReadOnlyList`1 pts)
  • Method: Single SignedArea(IReadOnlyList`1 pts)
  • Method: Boolean Contains(IReadOnlyList`1 polygon, Vector2 point)
  • Method: Int32 WindingNumber(IReadOnlyList`1 polygon, Vector2 point)
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()

Freya.Random

  • Method: Single get_Value()
  • Method: Single get_Sign()
  • Method: Single get_Direction1D()
  • Method: Single Range(Single min, Single max)
  • Method: Vector2 get_OnUnitCircle()
  • Method: Vector2 get_Direction2D()
  • Method: Vector2 get_InUnitCircle()
  • Method: Vector2 get_InUnitSquare()
  • Method: Vector3 get_OnUnitSphere()
  • Method: Vector3 get_Direction3D()
  • Method: Vector3 get_InUnitSphere()
  • Method: Vector3 get_InUnitCube()
  • Method: Single get_Angle()
  • Method: Quaternion get_Rotation()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Method: String ToString()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Property: Single Value
  • Property: Single Sign
  • Property: Single Direction1D
  • Property: Vector2 OnUnitCircle
  • Property: Vector2 Direction2D
  • Property: Vector2 InUnitCircle
  • Property: Vector2 InUnitSquare
  • Property: Vector3 OnUnitSphere
  • Property: Vector3 Direction3D
  • Property: Vector3 InUnitSphere
  • Property: Vector3 InUnitCube
  • Property: Single Angle
  • Property: Quaternion Rotation

Freya.Ray2D

  • Method: Vector2 GetPoint(Single distance)
  • Method: Ray2D op_Implicit(Ray ray)
  • Method: Ray2D op_Implicit(Ray2D ray)
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Field: Vector2 origin
  • Field: Vector2 dir

Freya.Trajectory

  • Method: Boolean TryGetLaunchSpeed(Single gravity, Single lateralDistance, Single angle, Single& speed)
  • Method: Boolean TryGetLaunchAngles(Single gravity, Single lateralDistance, Single speed, Single& angleLow, Single& angleHigh)
  • Method: Single GetMaxRange(Single gravity, Single speed)
  • Method: Vector2 GetDisplacement(Single gravity, Single speed, Single angle, Single time)
  • Method: Single GetHeightPotential(Single gravity, Single currentHeight, Single speed)
  • Method: Boolean TryGetSpeedFromHeightPotential(Single gravity, Single currentHeight, Single heightPotential, Single& speed)
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Method: String ToString()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()

Freya.Triangle

  • Method: Single SignedArea(Vector3 a, Vector3 b, Vector3 c)
  • Method: Single Area(Vector3 a, Vector3 b, Vector3 c)
  • Method: Vector3 Centroid(Vector3 a, Vector3 b, Vector3 c)
  • Method: Vector3 Incenter(Vector3 a, Vector3 b, Vector3 c)
  • Method: Circle Incircle(Vector2 a, Vector2 b, Vector2 c)
  • Method: Boolean Circumcircle(Vector2 a, Vector2 b, Vector2 c, Circle& circle)
  • Method: Boolean Contains(Vector2 a, Vector2 b, Vector2 c, Vector2 point, Single aMargin, Single bMargin, Single cMargin)
  • Method: Single SmallestAngle(Vector3 a, Vector3 b, Vector3 c)
  • Method: Single Area(Single width, Single height)
  • Method: Single AngleFromOppositeHypotenuse(Single opposite, Single hypotenuse)
  • Method: Single AngleFromAdjacentHypotenuse(Single adjacent, Single hypotenuse)
  • Method: Single AngleFromOppositeAdjacent(Single opposite, Single adjacent)
  • Method: Single HypotenuseFromAngleAdjacent(Single angle, Single adjacent)
  • Method: Single HypotenuseFromAngleOpposite(Single angle, Single opposite)
  • Method: Single HypotenuseFromOppositeAdjacent(Single opposite, Single adjacent)
  • Method: Single AdjacentFromAngleOpposite(Single angle, Single opposite)
  • Method: Single AdjacentFromAngleHypotenuse(Single angle, Single hypotenuse)
  • Method: Single AdjacentFromOppositeHypotenuse(Single opposite, Single hypotenuse)
  • Method: Single OppositeFromAngleAdjacent(Single angle, Single adjacent)
  • Method: Single OppositeFromAngleHypotenuse(Single angle, Single hypotenuse)
  • Method: Single OppositeFromAdjacentHypotenuse(Single adjacent, Single hypotenuse)
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Method: String ToString()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()