SwinGame

  • Home
  • Documentation
  • Download
  • Competition
  • Register
  • Gallery
  • Forum
  • Contact
  • Log in
Hide Sidebar
Show Sidebar

Related

Documentation

  • Main Page
  • Tutorials
  • Game Resources
  • Recent changes

Swingame API

  • Core
  • Audio
  • Graphics
  • Physics
  • Font
  • Shapes
  • Input
  • Camera
  • Mappy

Latest News

  • SwinGame 3 Alpha
    Mon Aug 10, 2009 3:14 am
  • Get started Programming VBugs
    Thu Mar 19, 2009 1:16 am
  • SwinGame 09
    Tue Mar 03, 2009 12:26 am
  • SwinGame 2.0 Released
    Wed Jan 21, 2009 5:47 am
  • New Summer Projects
    Thu Dec 18, 2008 1:10 pm

Search

 

Views

  • Category
  • Discussion
  • View source
  • History

Toolbox

  • What links here
  • Related changes
  • Special pages
  • Printable version

Category:SGSDK SHAPES

From SwinGame

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

Pages in category "SGSDK SHAPES"

The following 26 pages are in this category, out of 26 total.

C

  • CenterPoint
  • ClosestPointOnLine
  • CreateLine
  • CreatePoint
  • CreateRectangle

D

  • DistanceBetween
  • DistancePointToLine

G

  • GetLineIntersectionPoint

I

  • Intersection
  • IsPointOnLine

L

  • LineFromVector
  • LineIntersectsWithLines
  • LineIntersectsWithRect
  • LineSegment
  • LinesArray
  • LinesFromRect

M

  • MidPoint

P

  • Point2D
  • PointIsWithinRect

R

  • Rectangle
  • RectangleAfterMove
  • RectangleBottom
  • RectangleLeft
  • RectangleRight
  • RectangleTop
  • RectanglesIntersect
Retrieved from "http://www.swingame.com/wiki/index.php/Category:SGSDK_SHAPES"
Powered by MediaWiki
Wikimedia Foundation
  • This page was last modified on 24 January 2008, at 00:12.
  • This page has been accessed 5,322 times.
  • About SwinGame
  • SwinGame Admin: Andrew Cain (swingame@swin.edu.au)