public final class CgmPoint extends Object implements com.aspose.ms.System.IEquatable<CgmPoint>, Comparable<CgmPoint>
Represents a point parameter type
| Constructor and Description |
|---|
CgmPoint(double x,
double y) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CgmPoint other)
sort CGMPoints to the leftest upper corner
|
static int |
compareValues(double x,
double y) |
boolean |
equals(CgmPoint other) |
boolean |
equals(Object obj) |
double |
getX() |
double |
getY() |
int |
hashCode() |
static boolean |
isSame(double x,
double y) |
void |
setX(double value) |
void |
setY(double value) |
String |
toString() |
public final double getX()
public final void setX(double value)
public final double getY()
public final void setY(double value)
public boolean equals(Object obj)
public final boolean equals(CgmPoint other)
public final int compareTo(CgmPoint other)
sort CGMPoints to the leftest upper corner
compareTo in interface Comparable<CgmPoint>other - An object to compare with this instance.other in the sort order. Zero This instance occurs in the same position in the sort order as other. Greater than zero This instance follows other in the sort order.com.aspose.ms.System.NotImplementedExceptionpublic static boolean isSame(double x,
double y)
public static int compareValues(double x,
double y)
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.