Category:SGSDK SHAPES

The Shapes contains the code for the basic shapes available in the SwinGameSDK: Point2D, LineSegment, and Rectangle, and the code to create and manipulate these.


 * Routines to create a shape
 * CreateLine
 * CreatePoint
 * CreateRectangle
 * Routines to manipulate a shape
 * LineFromVector
 * LinesFromRect
 * RectangleAfterMove
 * Routines to relates to intersection
 * IsPointOnLine
 * RectanglesIntersect
 * GetLineIntersectionPoint
 * LineIntersectsWithLines
 * LineIntersectsWithRect
 * Intersection
 * PointIsWithinRect
 * Other routines related to shapes
 * ClosestPointOnLine
 * DistanceBetween
 * DistancePointToLine
 * MidPoint
 * RectangleBottom
 * RectangleLeft
 * RectangleRight
 * RectangleTop
 * CenterPoint
 * Types
 * Point2D
 * LineSegment
 * LinesArray
 * Rectangle