Uses of Class
org.locationtech.jts.geom.LineSegment
Packages that use LineSegment
Package
Description
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Classes to compute distance metrics between geometries.
Contains the
Geometry interface hierarchy and supporting classes.Contains classes that implement Monotone Chains
Contains classes and interfaces implementing linear referencing on linear geometries
Provides classes for computing buffers of geometries
Classes to perform validation of the results of buffer operations.
Classes to perform snapping on geometries to prepare them for overlay operations.
Classes to validate the results of overlay operations.
Classes which implement algorithms for simplifying or generalizing geometries.
Classes to compute Delaunay triangulations.
Classes to implement a topological subdivision of quadeges, to support creating triangulations
and Voronoi diagrams.
-
Uses of LineSegment in org.locationtech.jts.algorithm
Fields in org.locationtech.jts.algorithm declared as LineSegmentMethods in org.locationtech.jts.algorithm that return LineSegmentModifier and TypeMethodDescriptionprivate static LineSegmentMinimumDiameter.computeSegmentForLine(double a, double b, double c) Methods in org.locationtech.jts.algorithm with parameters of type LineSegmentModifier and TypeMethodDescriptionprivate intMinimumDiameter.findMaxPerpDistance(Coordinate[] pts, LineSegment seg, int startIndex) -
Uses of LineSegment in org.locationtech.jts.algorithm.distance
Methods in org.locationtech.jts.algorithm.distance with parameters of type LineSegmentModifier and TypeMethodDescriptionstatic voidDistanceToPoint.computeDistance(LineSegment segment, Coordinate pt, PointPairDistance ptDist) -
Uses of LineSegment in org.locationtech.jts.geom
Methods in org.locationtech.jts.geom that return LineSegmentModifier and TypeMethodDescriptionLineSegment.project(LineSegment seg) Project a line segment onto this line segment and return the resulting line segment.Methods in org.locationtech.jts.geom with parameters of type LineSegmentModifier and TypeMethodDescriptionLineSegment.closestPoints(LineSegment line) Computes the closest points on two line segments.doubleLineSegment.distance(LineSegment ls) Computes the distance between this line segment and another segment.booleanLineSegment.equalsTopo(LineSegment other) Returnstrueifotheris topologically equal to this LineSegment (e.g.LineSegment.intersection(LineSegment line) Computes an intersection point between two line segments, if there is one.LineSegment.lineIntersection(LineSegment line) Computes the intersection point of the lines of infinite extent defined by two line segments (if there is one).intLineSegment.orientationIndex(LineSegment seg) Determines the orientation of a LineSegment relative to this segment.LineSegment.project(LineSegment seg) Project a line segment onto this line segment and return the resulting line segment.voidLineSegment.setCoordinates(LineSegment ls) Constructors in org.locationtech.jts.geom with parameters of type LineSegment -
Uses of LineSegment in org.locationtech.jts.index.chain
Fields in org.locationtech.jts.index.chain declared as LineSegmentModifier and TypeFieldDescriptionprotected LineSegmentMonotoneChainOverlapAction.overlapSeg1protected LineSegmentMonotoneChainOverlapAction.overlapSeg2(package private) LineSegmentMonotoneChainSelectAction.selectedSegmentMethods in org.locationtech.jts.index.chain with parameters of type LineSegmentModifier and TypeMethodDescriptionvoidMonotoneChain.getLineSegment(int index, LineSegment ls) Gets the line segment starting atindexvoidMonotoneChainOverlapAction.overlap(LineSegment seg1, LineSegment seg2) This is a convenience function which can be overridden to obtain the actual line segments which overlapvoidMonotoneChainSelectAction.select(LineSegment seg) This is a convenience method which can be overridden to obtain the actual line segment which is selected. -
Uses of LineSegment in org.locationtech.jts.linearref
Methods in org.locationtech.jts.linearref that return LineSegmentModifier and TypeMethodDescriptionLinearLocation.getSegment(Geometry linearGeom) Gets aLineSegmentrepresenting the segment of the given linearGeometrywhich contains this location.Methods in org.locationtech.jts.linearref with parameters of type LineSegmentModifier and TypeMethodDescriptionprivate doubleLengthIndexOfPoint.segmentNearestMeasure(LineSegment seg, Coordinate inputPt, double segmentStartMeasure) -
Uses of LineSegment in org.locationtech.jts.operation.buffer
Fields in org.locationtech.jts.operation.buffer declared as LineSegmentModifier and TypeFieldDescriptionprivate LineSegmentOffsetSegmentGenerator.offset0private LineSegmentOffsetSegmentGenerator.offset1private LineSegmentSubgraphDepthLocater.segprivate LineSegmentOffsetSegmentGenerator.seg0private LineSegmentOffsetSegmentGenerator.seg1private LineSegmentSubgraphDepthLocater.DepthSegment.upwardSegMethods in org.locationtech.jts.operation.buffer with parameters of type LineSegmentModifier and TypeMethodDescriptionprivate voidOffsetSegmentGenerator.addBevelJoin(LineSegment offset0, LineSegment offset1) Adds a bevel join connecting the two offset segments around a reflex corner.private voidOffsetSegmentGenerator.addLimitedMitreJoin(LineSegment offset0, LineSegment offset1, double distance, double mitreLimit) Adds a limited mitre join connecting the two reflex offset segments.private voidOffsetSegmentGenerator.addMitreJoin(Coordinate p, LineSegment offset0, LineSegment offset1, double distance) Adds a mitre join connecting the two reflex offset segments.private intSubgraphDepthLocater.DepthSegment.compareX(LineSegment seg0, LineSegment seg1) Compare two collinear segments for left-most ordering.private voidOffsetSegmentGenerator.computeOffsetSegment(LineSegment seg, int side, double distance, LineSegment offset) Compute an offset segment for an input segment on a given side and at a given distance.Constructors in org.locationtech.jts.operation.buffer with parameters of type LineSegment -
Uses of LineSegment in org.locationtech.jts.operation.buffer.validate
Methods in org.locationtech.jts.operation.buffer.validate with parameters of type LineSegmentModifier and TypeMethodDescriptionstatic voidDistanceToPointFinder.computeDistance(LineSegment segment, Coordinate pt, PointPairDistance ptDist) -
Uses of LineSegment in org.locationtech.jts.operation.overlay.snap
Fields in org.locationtech.jts.operation.overlay.snap declared as LineSegment -
Uses of LineSegment in org.locationtech.jts.operation.overlay.validate
Fields in org.locationtech.jts.operation.overlay.validate declared as LineSegment -
Uses of LineSegment in org.locationtech.jts.shape
Methods in org.locationtech.jts.shape that return LineSegment -
Uses of LineSegment in org.locationtech.jts.simplify
Subclasses of LineSegment in org.locationtech.jts.simplifyModifier and TypeClassDescription(package private) classALineSegmentwhich is tagged with its location in a parentGeometry.Fields in org.locationtech.jts.simplify declared as LineSegmentModifier and TypeFieldDescriptionprivate LineSegmentLineSegmentVisitor.querySegprivate LineSegmentDouglasPeuckerLineSimplifier.segMethods in org.locationtech.jts.simplify that return LineSegmentModifier and TypeMethodDescriptionprivate LineSegmentTaggedLineStringSimplifier.flatten(int start, int end) Flattens a section of the line between indexesstartandend, replacing them with a line between the endpoints.Methods in org.locationtech.jts.simplify with parameters of type LineSegmentModifier and TypeMethodDescriptionvoidLineSegmentIndex.add(LineSegment seg) voidTaggedLineString.addToResult(LineSegment seg) private booleanTaggedLineStringSimplifier.hasBadInputIntersection(TaggedLineString parentLine, int[] sectionIndex, LineSegment candidateSeg) private booleanTaggedLineStringSimplifier.hasBadIntersection(TaggedLineString parentLine, int[] sectionIndex, LineSegment candidateSeg) private booleanTaggedLineStringSimplifier.hasBadOutputIntersection(LineSegment candidateSeg) private booleanTaggedLineStringSimplifier.hasInteriorIntersection(LineSegment seg0, LineSegment seg1) LineSegmentIndex.query(LineSegment querySeg) voidLineSegmentIndex.remove(LineSegment seg) Constructors in org.locationtech.jts.simplify with parameters of type LineSegment -
Uses of LineSegment in org.locationtech.jts.triangulate
Fields in org.locationtech.jts.triangulate declared as LineSegmentModifier and TypeFieldDescriptionprivate LineSegmentSegment.lsprivate LineSegmentSplitSegment.segMethods in org.locationtech.jts.triangulate that return LineSegmentModifier and TypeMethodDescriptionSegment.getLineSegment()Gets a LineSegment modelling this segment.Methods in org.locationtech.jts.triangulate with parameters of type LineSegmentModifier and TypeMethodDescriptionprivate static CoordinateSplitSegment.pointAlongReverse(LineSegment seg, double segmentLengthFraction) Computes theCoordinatethat lies a given fraction along the line defined by the reverse of the given segment.Constructors in org.locationtech.jts.triangulate with parameters of type LineSegment -
Uses of LineSegment in org.locationtech.jts.triangulate.quadedge
Fields in org.locationtech.jts.triangulate.quadedge declared as LineSegmentModifier and TypeFieldDescriptionprivate LineSegmentLocateFailureException.segprivate LineSegmentQuadEdgeSubdivision.segMethods in org.locationtech.jts.triangulate.quadedge that return LineSegmentModifier and TypeMethodDescriptionLocateFailureException.getSegment()QuadEdge.toLineSegment()Creates aLineSegmentrepresenting the geometry of this edge.Methods in org.locationtech.jts.triangulate.quadedge with parameters of type LineSegmentModifier and TypeMethodDescriptionvoidQuadEdgeTriangle.getEdgeSegment(int i, LineSegment seg) private static StringLocateFailureException.msgWithSpatial(String msg, LineSegment seg) Constructors in org.locationtech.jts.triangulate.quadedge with parameters of type LineSegment -
Uses of LineSegment in org.locationtech.jtstest.testbuilder.geom
Fields in org.locationtech.jtstest.testbuilder.geom declared as LineSegmentModifier and TypeFieldDescriptionprivate LineSegmentGeometryPointLocater.NearestSegmentLocationFilter.seg -
Uses of LineSegment in org.locationtech.jtstest.testbuilder.topostretch
Fields in org.locationtech.jtstest.testbuilder.topostretch declared as LineSegmentModifier and TypeFieldDescriptionprivate static LineSegmentStretchedVertexFinder.distSegprivate LineSegmentStretchedVertex.nearSegMethods in org.locationtech.jtstest.testbuilder.topostretch with parameters of type LineSegmentModifier and TypeMethodDescriptionprivate CoordinateStretchedVertex.displaceFromSeg(LineSegment nearSeg, double dist) Constructors in org.locationtech.jtstest.testbuilder.topostretch with parameters of type LineSegmentModifierConstructorDescriptionStretchedVertex(Coordinate vertexPt, Coordinate[] parentLine, int parentIndex, LineSegment nearSeg) Creates a vertex for a point which lies near a line segment