Skip to main content
Skip table of contents

Point2D (1)

Point2D Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.awt.geom
  iTextSharp.awt.geom.Point2D[[Point2D]]
  class iTextSharp.awt.geom.Point2D abstractStyle;
  end

Members

Methods

Public methods
ReturnsName
doubleDistance(...)
doubleDistanceSq(...)
boolEquals(object obj)
intGetHashCode()
doubleGetX()
doubleGetY()
voidSetLocation(...)
Public Static methods
ReturnsName
doubleDistance(double x1, double y1, double x2, double y2)
doubleDistanceSq(double x1, double y1, double x2, double y2)

Details

Nested types

Classes
  • Float
  • Double

Constructors

Point2D

Source code

protected Point2D()

Methods

GetX
public abstract double GetX()
GetY
public abstract double GetY()
SetLocation [1/2]
public abstract void SetLocation(double x, double y)
Arguments
TypeNameDescription
doublex
doubley
SetLocation [2/2]

Source code

public virtual void SetLocation(Point2D p)
Arguments
TypeNameDescription
Point2Dp
DistanceSq [1/3]

Source code

public static double DistanceSq(double x1, double y1, double x2, double y2)
Arguments
TypeNameDescription
doublex1
doubley1
doublex2
doubley2
DistanceSq [2/3]

Source code

public virtual double DistanceSq(double px, double py)
Arguments
TypeNameDescription
doublepx
doublepy
DistanceSq [3/3]

Source code

public virtual double DistanceSq(Point2D p)
Arguments
TypeNameDescription
Point2Dp
Distance [1/3]

Source code

public static double Distance(double x1, double y1, double x2, double y2)
Arguments
TypeNameDescription
doublex1
doubley1
doublex2
doubley2
Distance [2/3]

Source code

public virtual double Distance(double px, double py)
Arguments
TypeNameDescription
doublepx
doublepy
Distance [3/3]

Source code

public virtual double Distance(Point2D p)
Arguments
TypeNameDescription
Point2Dp
Equals

Source code

public override bool Equals(object obj)
Arguments
TypeNameDescription
objectobj
GetHashCode

Source code

public override int GetHashCode()

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.