Results 1 to 2 of 2

Thread: Difference between point and pointF

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2009
    Posts
    77

    Difference between point and pointF

    Hello.

    Hmm, am i right to say that the main difference between point and pointF, is that Point holds integer values for X and Y and PointF holds Floating values? =)
    Last edited by catherine0136; Jan 25th, 2010 at 04:52 AM.

  2. #2
    PowerPoster cicatrix's Avatar
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,654

    Re: Difference between point and pointF

    Isn't it obvious?
    Yes, point is integer while pointF is Floating. Different methods require different arguments. Integer is faster and should be used wherever possible instead of pointF.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width