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
Public Static methods
Returns | Name |
---|
double | Distance (double x1, double y1, double x2, double y2) |
double | DistanceSq (double x1, double y1, double x2, double y2) |
Details
Nested types
Classes
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
Type | Name | Description |
---|
double | x | |
double | y | |
SetLocation [2/2]
Source code
public virtual void SetLocation(Point2D p)
Arguments
DistanceSq [1/3]
Source code
public static double DistanceSq(double x1, double y1, double x2, double y2)
Arguments
Type | Name | Description |
---|
double | x1 | |
double | y1 | |
double | x2 | |
double | y2 | |
DistanceSq [2/3]
Source code
public virtual double DistanceSq(double px, double py)
Arguments
Type | Name | Description |
---|
double | px | |
double | py | |
DistanceSq [3/3]
Source code
public virtual double DistanceSq(Point2D p)
Arguments
Distance [1/3]
Source code
public static double Distance(double x1, double y1, double x2, double y2)
Arguments
Type | Name | Description |
---|
double | x1 | |
double | y1 | |
double | x2 | |
double | y2 | |
Distance [2/3]
Source code
public virtual double Distance(double px, double py)
Arguments
Type | Name | Description |
---|
double | px | |
double | py | |
Distance [3/3]
Source code
public virtual double Distance(Point2D p)
Arguments
Equals
Source code
public override bool Equals(object obj)
Arguments
Type | Name | Description |
---|
object | obj | |
GetHashCode
Source code
public override int GetHashCode()
Generated with ModularDoc