Click or drag to resize

TwoD Class

A class with 2D helper functions.
Inheritance Hierarchy
SystemObject
  TouchScript.Utils.GeomTwoD

Namespace:  TouchScript.Utils.Geom
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static class TwoD

The TwoD type exposes the following members.

Methods
  NameDescription
Public methodStatic memberPointToLineDistance
Calculates distance from line to point.
Public methodStatic memberPointToLineDistance2
Calculates distances from line to each of 2 points.
Public methodStatic memberRotate
Rotates a point around (0,0) by an angle.
Top
See Also