Uses of Class
com.amalgamasimulation.geometry.Polyline
Packages that use Polyline
Package
Description
-
Uses of Polyline in com.amalgamasimulation.discreterate
Methods in com.amalgamasimulation.discreterate that return PolylineModifier and TypeMethodDescriptionConveyor.getPolyline()Returns thePolylinethat describes the physical layout of this Conveyor.ConveyorRateRecord.getPolyline()IAbstractConveyor.getPolyline()ReversibleConveyor.getPolyline()Returns thePolylinethat describes the physical layout of this Conveyor.Methods in com.amalgamasimulation.discreterate with parameters of type PolylineModifier and TypeMethodDescriptionSets the polyline of a new ConveyorSets the polyline of a new ReversibleConveyor -
Uses of Polyline in com.amalgamasimulation.geometry
Subclasses of Polyline in com.amalgamasimulation.geometryModifier and TypeClassDescriptionclassRepresents a closed polygon in a 2D space, extending thePolylineclass.Methods in com.amalgamasimulation.geometry that return PolylineModifier and TypeMethodDescriptionReturns a new polyline which is a concatenation of this polyline and the specified polyline.static PolylineGeometryUtil.getArrowPolyline(Segment segment, double arrowSize) Returns a polyline of 2 segments representing the "pointing" part of the arrow at the end of the specified segment.static PolylineGeometryUtil.getAveragePolyline(Point beginPoint, Point endPoint, List<Polyline> polylines, double averagingRadius) Returns the polyline that is the "average" polyline across the specified list of polylines.Polyline.getCopy()Returns a copy of this polyline.Polyline.getEquidistantPolyline(double distance) Returns a polyline that is an approximation of equidistant line for this polyline at the specified distance.Polyline.getParallelPolyline(double distance) Returns a polyline that is parallel to this polyline and at the specified distance.Polyline.getParallelPolyline(double distance, boolean correctSelfIntersections) Returns a polyline that is parallel to this polyline and at the specified distance correcting convexity if specified.Polyline.getPolylineWithoutSelfIntersections()Returns a new polyline which is equivalent to this polyline without self intersections.Polyline.getReversed()Returns this polyline directed in the reverse direction.Polyline.getRotated(double angle) Returns a polyline that is a result of rotation of this polyline around the (0, 0) point by the specified angle.Polyline.getSimplified()Simplifies this polyline by removing all non-bendpoints, retaining only the key points that define the shape of the polyline.Polyline.getSmoothed()Returns a new polyline that is this polyline smoothed according to the default smoothing parameters.Polyline.getSmoothed(double maxSmoothingVectorLength, double minAngleToSmooth, int hermitePointsNumber) Returns a new polyline that is this polyline smoothed according to the specified smoothing parameters.Polyline.getSubPolylineByAbsoluteOffsets(double beginPointAbsoluteOffset, double endPointAbsoluteOffset) Returns subpolyline that is a part of this polyline located between the specified absolute offsets.Polyline.getSubPolylineByAbsoluteOffsets(double beginPointAbsoluteOffset, double endPointAbsoluteOffset, EpsilonComparator comparator) Returns subpolyline that is a part of this polyline located between the specified absolute offsets.Polyline.getSubPolylineByRelativeOffsets(double beginPointRelativeOffset, double endPointRelativeOffset) Returns subpolyline that is a part of this polyline located between the specified relative offsets.Returns the polyline that is point-wise difference of this polyline and the specified point.Polyline.multiply(double factor) Returns the polyline that is point-wise product of this polyline and the specified factor.Returns the polyline that is point-wise sum of this polyline and the specified point.Methods in com.amalgamasimulation.geometry with parameters of type PolylineModifier and TypeMethodDescriptionReturns a new polyline which is a concatenation of this polyline and the specified polyline.protected booleanPolyline.boundsIntersect(Polyline otherPolyline) Polyline.getAllIntersectionPoints(Polyline polyline) Returns a list of points where this polyline intersects with the specified other polyline.Polyline.getAllIntersectionPoints(Polyline polyline, boolean considerEndPoints) Returns a list of points where this polyline intersects with the specified other polyline.Polyline.getAllIntersections(Polyline polyline) Returns a list ofIntersectionDescriptorinstances representing all points where this polyline intersects with the specified other polyline.Polyline.getAllIntersections(Polyline polyline, boolean considerEndPoints) Returns a list ofIntersectionDescriptorinstances representing all points where this polyline intersects with the specified other polyline.Polyline.getConnectingSegment(Polyline otherPolyline) Returns the shortest possible segment that connects this polyline to the specified polyline.Polyline.getFirstIntersection(Polyline polyline) Returns theIntersectionDescriptorinstance representing the first intersection of this polyline and the specified other polyline, ornullif the polylines do not intersect.Polyline.getFirstIntersection(Polyline polyline, boolean considerEndPoints) Returns theIntersectionDescriptorinstance representing the first intersection of this polyline and the specified other polyline, ornullif the polylines do not intersect.Polyline.getFirstIntersectionPoint(Polyline polyline) Returns the first intersection point of this polyline and the specified other polyline, ornullif the polylines do not intersect.Polyline.getFirstIntersectionPoint(Polyline polyline, boolean considerEndPoints) Returns the first intersection point of this polyline and the specified other polyline, ornullif the polylines do not intersect.booleanPolyline.intersectsWith(Polyline polyline) Checks whether this polyline intersects with the specified other polyline.booleanPolyline.intersectsWith(Polyline polyline, boolean considerEndPoints) Checks whether this polyline intersects with the specified other polyline.Method parameters in com.amalgamasimulation.geometry with type arguments of type PolylineModifier and TypeMethodDescriptionstatic PolylineGeometryUtil.getAveragePolyline(Point beginPoint, Point endPoint, List<Polyline> polylines, double averagingRadius) Returns the polyline that is the "average" polyline across the specified list of polylines.static <N,A> void GeometryUtil.groupAroundNode(Graph<N, A> graph, Graph<N, A>.Node groupingNode, double radius, Function<N, Point> pointExtractor, Function<A, Polyline> polylineExtractor, BiFunction<A, Polyline, A> newArcValueSupplier) Deprecated.Constructors in com.amalgamasimulation.geometry with parameters of type Polyline -
Uses of Polyline in com.amalgamasimulation.geometry.geometry3d
Methods in com.amalgamasimulation.geometry.geometry3d that return Polyline -
Uses of Polyline in com.amalgamasimulation.graphagent
Fields in com.amalgamasimulation.graphagent declared as PolylineMethods in com.amalgamasimulation.graphagent that return PolylineModifier and TypeMethodDescriptionLongAgent.getCurrentAnimationPolyline()Returns aPolylinerepresenting the current location of this long agent, ornullif this long agent is not in a graph.AgentGraphArcImpl.getPolyline()GeometricGraphArc.getPolyline()Returns thePolylinecorresponding to this arc.GeometricGraphPath.getPolyline()Returns thePolylinerepresenting the trajectory of this path.GeometricGraphPosition.getSubPolylineFromArcBegin()If this position points to an arc, returnsPolylinethat constitutes the trajectory from the arc's beginning to this position.GeometricGraphPosition.getSubPolylineToArcEnd()If this position points to an arc, returnsPolylinethat constitutes the trajectory from this position to the arc's end.AgentGraphPath.getTrajectory()Returns thePolylinerepresenting the trajectory of this path.GraphAgent.getTrajectory()Returns the current remaining trajectory of this agent, i.e.Methods in com.amalgamasimulation.graphagent with parameters of type PolylineModifier and TypeMethodDescriptionvoidAgentGraphArcImpl.setPolyline(Polyline polyline) Sets the specified polyline to this arc.Constructors in com.amalgamasimulation.graphagent with parameters of type PolylineModifierConstructorDescriptionAgentGraphArcImpl(Polyline polyline) Creates a new instance ofAgentGraphArcImplwith the specifiedPolyline.AgentGraphArcImpl(Polyline polyline, AgentGraphArcImpl reverseArc) Creates a new instance ofAgentGraphArcImplwith the specifiedPolylineand reverse arc.LongAgentGraphArcImpl(Polyline polyline) Creates a new instance ofLongAgentGraphArcImplwith the specifiedPolyline.LongAgentGraphArcImpl(Polyline polyline, LongAgentGraphArcImpl reverseArc) Creates a new instance ofLongAgentGraphArcImplwith the specifiedPolylineand reverse arc. -
Uses of Polyline in com.amalgamasimulation.graphicaleditor.visuals
Fields in com.amalgamasimulation.graphicaleditor.visuals declared as PolylineModifier and TypeFieldDescriptionprotected PolylineArcVisual.internalPolylineprotected PolylineArcVisual.optimizedInternalPolyline -
Uses of Polyline in com.amalgamasimulation.trains
Fields in com.amalgamasimulation.trains with type parameters of type PolylineMethods in com.amalgamasimulation.trains that return PolylineModifier and TypeMethodDescriptionRailTrack.getPolyline()Returns a polyline representing the forward trajectory along the track.Methods in com.amalgamasimulation.trains with parameters of type PolylineModifier and TypeMethodDescriptionTrainsEnvironment.addRailTrack(RailNode sourceNode, RailNode destNode, String name, Polyline forwardPolyline) TrainsEnvironment.getSharpTurnOffsets(Polyline polyline, double sharpTurnLength, double minHeadingDifferenceOfSharpTurn) Identifies sections of a polyline that contain sharp turns.Constructors in com.amalgamasimulation.trains with parameters of type Polyline