public class FMapUtil extends Object
| Constructor and Description |
|---|
FMapUtil() |
| Modifier and Type | Method and Description |
|---|---|
static double |
angleDistance(double angle1,
double angle2)
Devuelve la distancia desde angle1 a angle2.
|
static Point |
createPoint(int subType,
double[] point) |
static Point |
createPoint(int subType,
IDwgVertex dwgvertex) |
static Point |
createPoint(int subType,
Point2D point) |
static Line |
ptsToLine(List<double[]> pts,
int subType) |
static Surface |
ptsToPolygon(List<double[]> pts,
int subType) |
public static Line ptsToLine(List<double[]> pts, int subType) throws CreateGeometryException
CreateGeometryExceptionpublic static Surface ptsToPolygon(List<double[]> pts, int subType) throws CreateGeometryException
CreateGeometryExceptionpublic static Point createPoint(int subType, double[] point) throws CreateGeometryException
CreateGeometryExceptionpublic static Point createPoint(int subType, Point2D point) throws CreateGeometryException
CreateGeometryExceptionpublic static Point createPoint(int subType, IDwgVertex dwgvertex) throws CreateGeometryException
CreateGeometryExceptionpublic static double angleDistance(double angle1,
double angle2)
angle1 - angulo en radianes. Debe ser positivo y no dar ninguna
vuelta a la circunferenciaangle2 - angulo en radianes. Debe ser positivo y no dar ninguna
vuelta a la circunferencia