VectorUtils
object VectorUtils
Content copied to clipboard
Functions
calcAngleSnapDistance
Link copied to clipboard
cutVerticalIntersection
Link copied to clipboard
fun cutVerticalIntersection(rect: <ERROR CLASS>, top: Float, bottom: Float)
Content copied to clipboard
distance
Link copied to clipboard
equals
Link copied to clipboard
getAngle
Link copied to clipboard
hasIntersection
Link copied to clipboard
mapFromSnapSystem
Link copied to clipboard
fun mapFromSnapSystem(value: Float, sortedSnapPoints: FloatArray, snapRange: Float, extendedRange: Boolean, snapped: BooleanArray?): Float
Content copied to clipboard
mapToRotatedSource
Link copied to clipboard
fun mapToRotatedSource(rect: <ERROR CLASS>, source: <ERROR CLASS>, rotation90deg: Int)
Content copied to clipboard
fun mapToRotatedSource(rect: <ERROR CLASS>, sourceWidth: Float, sourceHeight: Float, rotation90deg: Int)
Content copied to clipboard
mapToSnapSystem
Link copied to clipboard
fun mapToSnapSystem(value: Float, sortedSnapPoints: FloatArray, snapRange: Float, extendedRange: Boolean): Float
Content copied to clipboard
reversePointsPositions
Link copied to clipboard
rotatePointsAroundCenter
Link copied to clipboard
fun rotatePointsAroundCenter(x: Float, y: Float, angle: Float, points: FloatArray): FloatArray
Content copied to clipboard
fun rotatePointsAroundCenter(matrixDummy: <ERROR CLASS>, centerX: Float, centerY: Float, angle: Float, points: FloatArray): FloatArray
Content copied to clipboard
shiftPointsPositions
Link copied to clipboard
fun shiftPointsPositions(_offset: Int, srcArray: FloatArray, _destArray: FloatArray?): FloatArray
Content copied to clipboard