Modifier and Type | Method and Description |
---|---|
Vector2D[][] |
OutlineExtractor.getOutline(PolyhedronsSet polyhedronsSet)
Extract the outline of a polyhedrons set.
|
Vector2D |
Plane.toSubSpace(Vector<Euclidean3D> point)
Transform a 3D space point into an in-plane point.
|
Modifier and Type | Method and Description |
---|---|
Vector3D |
Plane.getPointAt(Vector2D plane,
double offset)
Get one point from the 3D-space.
|
Modifier and Type | Field and Description |
---|---|
static Vector2D |
Vector2D.NaN
A vector with all coordinates set to NaN.
|
static Vector2D |
Vector2D.NEGATIVE_INFINITY
A vector with all coordinates set to negative infinity.
|
static Vector2D |
Vector2D.POSITIVE_INFINITY
A vector with all coordinates set to positive infinity.
|
static Vector2D |
Vector2D.ZERO
Origin (coordinates: 0, 0).
|
Modifier and Type | Method and Description |
---|---|
Vector2D |
Vector2D.add(double factor,
Vector<Euclidean2D> v)
Add a scaled vector to the instance.
|
Vector2D |
Vector2D.add(Vector<Euclidean2D> v)
Add a vector to the instance.
|
Vector2D |
Segment.getClosestPoint(Vector2D p)
Returns closest point of provided point belonging to segment.
|
Vector2D |
Segment.getEnd()
Get the end point of the segment.
|
Vector2D |
Line.getPointAt(Vector1D abscissa,
double offset)
Get one point from the plane.
|
Vector2D |
Segment.getStart()
Get the start point of the segment.
|
Vector2D[][] |
PolygonsSet.getVertices()
Get the vertices of the polygon.
|
Vector2D |
Vector2D.getZero()
Get the null vector of the vectorial space or origin point of the affine space.
|
Vector2D |
Line.intersection(Line other)
Get the intersection point of the instance and another line.
|
Vector2D |
SubLine.intersection(SubLine subLine,
boolean includeEndPoints)
Get the intersection of the instance and another sub-line.
|
Vector2D |
Vector2D.negate()
Get the opposite of the instance.
|
Vector2D |
Vector2D.normalize()
Get a normalized vector aligned with the instance.
|
Vector2D |
Vector2DFormat.parse(String source)
Parses a string to produce a
Vector object. |
Vector2D |
Vector2DFormat.parse(String source,
ParsePosition pos)
Parses a string to produce a
Vector object. |
Vector2D |
Vector2D.scalarMultiply(double a)
Multiply the instance by a scalar.
|
static Vector2D[][] |
PolygonsSet.sortVerticies(Vector2D[][] v,
boolean trigo)
Method to sort vertices according to a specific sense : (trigonometric or clockwise)
|
Vector2D |
Vector2D.subtract(double factor,
Vector<Euclidean2D> v)
Subtract a scaled vector from the instance.
|
Vector2D |
Vector2D.subtract(Vector<Euclidean2D> p)
Subtract a vector from the instance.
|
Vector2D |
Line.toSpace(Vector<Euclidean1D> point)
Transform a sub-space point into a space point.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Line.contains(Vector2D p)
Check if the line contains a point.
|
double |
Segment.distance(Vector2D p)
Calculates the shortest distance from a point to this line segment.
|
double |
Line.distance(Vector2D p)
Compute the distance between the instance and a point.
|
static double |
Vector2D.distance(Vector2D p1,
Vector2D p2)
Compute the distance between two vectors according to the L2 norm.
|
static double |
Vector2D.distanceInf(Vector2D p1,
Vector2D p2)
Compute the distance between two vectors according to the L∞ norm.
|
static double |
Vector2D.distanceSq(Vector2D p1,
Vector2D p2)
Compute the square of the distance between two vectors.
|
Vector2D |
Segment.getClosestPoint(Vector2D p)
Returns closest point of provided point belonging to segment.
|
void |
Line.reset(Vector2D p,
double alpha)
Reset the instance as if built from a line and an angle.
|
void |
Line.reset(Vector2D p1,
Vector2D p2)
Reset the instance as if built from two points.
|
static Vector2D[][] |
PolygonsSet.sortVerticies(Vector2D[][] v,
boolean trigo)
Method to sort vertices according to a specific sense : (trigonometric or clockwise)
|
void |
Line.translateToPoint(Vector2D p)
Translate the line to force it passing by a point.
|
Constructor and Description |
---|
Line(Vector2D p,
double angleIn)
Build a line from a point and an angle.
|
Line(Vector2D p1,
Vector2D p2)
Build a line from two points.
|
PolygonsSet(double hyperplaneThickness,
Vector2D... verticesIn)
Build a polygon from a simple list of vertices.
|
PolygonsSet(Vector2D[][] verticesIn)
Build a polygons set from a two dimensional array of vertices.
|
Segment(Vector2D startIn,
Vector2D endIn,
Line lineIn)
Build a segment.
|
SubLine(Vector2D start,
Vector2D end)
Create a sub-line from two endpoints.
|
Vector2D(double a,
Vector2D u)
Multiplicative constructor
Build a vector from another one and a scale factor.
|
Vector2D(double a1,
Vector2D u1,
double a2,
Vector2D u2)
Linear constructor
Build a vector from two other ones and corresponding scale factors.
|
Vector2D(double a1,
Vector2D u1,
double a2,
Vector2D u2,
double a3,
Vector2D u3)
Linear constructor
Build a vector from three other ones and corresponding scale factors.
|
Vector2D(double a1,
Vector2D u1,
double a2,
Vector2D u2,
double a3,
Vector2D u3,
double a4,
Vector2D u4)
Linear constructor
Build a vector from four other ones and corresponding scale factors.
|
Modifier and Type | Method and Description |
---|---|
static double |
AngleTools.getOrientedAngleBetween2Vector2D(Vector2D vector1,
Vector2D vector2)
Computes the oriented angle between 2 vectors 2D.
|
Modifier and Type | Method and Description |
---|---|
Vector2D |
Mercator.applyTo(double lat,
double lon)
Returns Easting value and Northing value in meters from latitude and longitude coordinates.
|
Vector2D |
IProjection.applyTo(double lat,
double lon)
Returns Easting value and Northing value in meters from latitude and longitude coordinates.
|
Vector2D |
IdentityProjection.applyTo(double lat,
double lon)
Returns Easting value and Northing value in meters from latitude and longitude coordinates.
|
Vector2D |
GeneralizedFlamsteedSamson.applyTo(double lat,
double lon)
Returns Easting value and Northing value in meters from latitude and longitude coordinates.
|
Vector2D |
Mercator.applyTo(GeodeticPoint geodeticPoint)
Returns Easting value and Northing value in meters from geodetic coordinates.
|
Vector2D |
IProjection.applyTo(GeodeticPoint geodeticPoint)
Returns Easting value and Northing value in meters from geodetic coordinates.
|
Vector2D |
IdentityProjection.applyTo(GeodeticPoint geoPoint)
Returns Easting value and Northing value in meters from geodetic coordinates.
|
Vector2D |
GeneralizedFlamsteedSamson.applyTo(GeodeticPoint geodeticPoint)
Returns Easting value and Northing value in meters from geodetic coordinates.
|
Modifier and Type | Method and Description |
---|---|
List<Vector2D> |
AbstractProjection.applyTo(List<GeodeticPoint> list)
Project a list of GeodeticPoints with a given projection.
|
List<Vector2D> |
AbstractProjection.applyToAndDiscretize(GeodeticPoint from,
GeodeticPoint to,
double maxLength,
boolean lastIncluded)
Project two points, then discretize 2D the line.
|
List<Vector2D> |
AbstractProjection.discretize(Vector2D p1,
Vector2D p2,
double maxLenght,
boolean p2Included)
Generate additional vertices between two points.
|
List<Vector2D> |
AbstractProjection.discretizeAndApplyTo(List<GeodeticPoint> list,
EnumLineProperty ltype,
double maxLength)
Discretizes a polygon conforming to a line property directive, and a maximum length of discretization.
|
List<Vector2D> |
AbstractProjection.discretizeCircleAndApplyTo(List<GeodeticPoint> list,
double maxLength)
Discretize following great circle lines between vertices of polygon and project obtained points.
|
List<Vector2D> |
AbstractProjection.discretizeRhumbAndApplyTo(List<GeodeticPoint> list,
double maxLength)
Project a rhumb line polygon, with the given projection.
|
Modifier and Type | Method and Description |
---|---|
List<Vector2D> |
AbstractProjection.discretize(Vector2D p1,
Vector2D p2,
double maxLenght,
boolean p2Included)
Generate additional vertices between two points.
|
Modifier and Type | Method and Description |
---|---|
List<GeodeticPoint> |
AbstractProjection.applyInverseTo(List<Vector2D> list)
Inverse Projects a list of Vector2D (projected points) with a given projection.
|
Copyright © 2021 CNES. All rights reserved.