public class FMapUtil
extends java.lang.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,
java.awt.geom.Point2D point) |
static Line |
ptsToLine(java.util.List<double[]> pts,
int subType) |
static Surface |
ptsToPolygon(java.util.List<double[]> pts,
int subType) |
public static Line ptsToLine(java.util.List<double[]> pts, int subType) throws CreateGeometryException
CreateGeometryException
public static Surface ptsToPolygon(java.util.List<double[]> pts, int subType) throws CreateGeometryException
CreateGeometryException
public static Point createPoint(int subType, double[] point) throws CreateGeometryException
CreateGeometryException
public static Point createPoint(int subType, java.awt.geom.Point2D point) throws CreateGeometryException
CreateGeometryException
public static Point createPoint(int subType, IDwgVertex dwgvertex) throws CreateGeometryException
CreateGeometryException
public 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