System.Types.TPointF Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
_sameValuepublicTests whether a TPointF object's fields are equal to some other values, received as parameters.
_sqrfpublicReturns the squared value of the value received as parameter.
Add (deprecated)publicCalculates the sum between two points.
AnglepublicCalculates the angle in radians formed by the point and the APoint parameter relative to the X-Axis using an Arctan2 function.
AngleCosinepublicCalculates the angle cosine of the current TPointF object.
CeilingpublicDoes superior rounding over the coordinates of the TPointF object.
CreatepublicCreates and returns a TPointF object.
CrossProductpublicCalculates the cross product of two points.
DistancepublicCalculates the distance between the current TPointF object and the point specified by the APoint parameter.
DotProductpublicCalculates the dot product of two points.
EqualsTopublic
IsEmptypublicTests whether the point is empty.
IsZeropublicTests whether the point is zero.
LengthpublicCalculates the length of the hypotenuse from (0,0) to the (X,Y) coordinates of the TPointF object.
MidPointpublicCalculates the halfway point of the segment created by the current TPointF object and the APoint provided.
NormalizepublicFunction to normalize the current TPointF object.
OffsetpublicIncrements the values of X and Y.
operator !=publicTests whether two points are not equal.
operator *publicMultiplies the coordinates of a point with a value or the coordinates of another point.
operator *=publicChanges the coordinates of the point by multiplying the current coordinates with a value or with the coordinates of another point.
operator +publicCalculates the sum between two points.
operator +=publicAdds certain values to a point location.
operator -publicSubtracts certain values from a point's location coordinates.
operator -=publicCalculates the difference between two points.
operator /publicReturns a TPointF object with the coordinates of the current TPointF object divided by the provided value.
operator /=publicDivides the coordinates of the current TPointF object with the provided value.
operator ==publicTests whether two points are equal.
operator AdditionpublicCalculates the sum between two points.
operator Divisionpublic
operator EqualitypublicTests whether two TPointF objects are equal.
operator Implicitpublic
operator InequalitypublicTests whether two points are not equal.
operator Multiplypublic
operator SubtractionpublicCalculates the difference between two TPointF objects.
operator UnaryNegationpublic
PointInCirclepublicTests whether the point is on or inside a circle.
PtInCirclepublicTests whether the point is within a circle.
ReflectpublicCalculates the reflection of the current TPointF object according to the line created with the APoint provided.
RotatepublicFunction to rotate the current TPointF object with the provided angle.
RoundpublicRounds the coordinates of the TPointF object.
Scale (deprecated)public
SetLocation (deprecated)publicSets the location of a TPointF object.
SnapToPixelpublicRounds the current TPointF object to the specified scale value.
Subtract (deprecated)publicCalculates the difference between two TPointF objects.
TruncatepublicTruncates the coordinates of the TPointF object.
ZeropublicPoint where the values of X and Y are all 0.