Skip to main content

Class PointF

Namespace: Aurigma.DesignAtoms.Model.Math​
Assembly: Aurigma.DesignAtoms.Model.dll​
Syntax
public class PointF : ICloneable

Inheritance: System.Object -> PointF

Implements​

  • System.ICloneable

Inherited Members​

  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone

Constructors​

PointF​

public PointF()

PointF​

public PointF(float x, float y)

PointF​

public PointF(PointF pt)

PointF​

public PointF(PointF pt)

Properties​

X​

public float X { get; set; }

Y​

public float Y { get; set; }

IsEmpty​

public bool IsEmpty { get; }

Methods​

Rotate​

public PointF Rotate(float angle)
Parameters​
TypeNameDescription
System.Singleangle
Returns​

Aurigma.DesignAtoms.Model.Math.PointF

Rotate​

public PointF Rotate(double angle)
Parameters​
TypeNameDescription
System.Doubleangle
Returns​

Aurigma.DesignAtoms.Model.Math.PointF

RotateAt​

public PointF RotateAt(double angle, PointF center)
Parameters​
TypeNameDescription
System.Doubleangle
Aurigma.DesignAtoms.Model.Math.PointFcenter
Returns​

Aurigma.DesignAtoms.Model.Math.PointF

Translate​

public PointF Translate(float x, float y)
Parameters​
TypeNameDescription
System.Singlex
System.Singley
Returns​

Aurigma.DesignAtoms.Model.Math.PointF

Translate​

public PointF Translate(double x, double y)
Parameters​
TypeNameDescription
System.Doublex
System.Doubley
Returns​

Aurigma.DesignAtoms.Model.Math.PointF

Scale​

public PointF Scale(float scaleX, float scaleY)
Parameters​
TypeNameDescription
System.SinglescaleX
System.SinglescaleY
Returns​

Aurigma.DesignAtoms.Model.Math.PointF

Scale​

public PointF Scale(double scaleX, double scaleY)
Parameters​
TypeNameDescription
System.DoublescaleX
System.DoublescaleY
Returns​

Aurigma.DesignAtoms.Model.Math.PointF

Transform​

public PointF Transform(Transform transform, PointF center)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Math.Transformtransform
Aurigma.DesignAtoms.Model.Math.PointFcenter
Returns​

Aurigma.DesignAtoms.Model.Math.PointF

Distance​

public double Distance(PointF point)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Math.PointFpoint
Returns​

System.Double

ToPoint​

public Point ToPoint()
Returns​

System.Drawing.Point

ToPointF​

public PointF ToPointF()
Returns​

System.Drawing.PointF

Clone​

public PointF Clone()
Returns​

Aurigma.DesignAtoms.Model.Math.PointF

AreEqualValues​

public static bool AreEqualValues(PointF p1, PointF p2, double tolerance = 0.0001)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Math.PointFp1
Aurigma.DesignAtoms.Model.Math.PointFp2
System.Doubletolerance
Returns​

System.Boolean

Equals​

public bool Equals(PointF p, double tolerance = 0.0001)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.Math.PointFp
System.Doubletolerance
Returns​

System.Boolean

ToString​

public override string ToString()
Returns​

System.String

Overrides​
  • System.Object.ToString

ICloneable.Clone​

object ICloneable.Clone()
Returns​

System.Object

Was this page helpful?