public interface Lines extends VisualizationItem<Lines>
Modifier and Type | Interface and Description |
---|---|
static class |
Lines.LinePattern
Describes pattern of the drawn lines.
|
Modifier and Type | Method and Description |
---|---|
static Lines |
create(ARGBColor color,
Collection<Segment3d> segments,
Lines.LinePattern linePattern,
float lineThickness)
Creates visualization of a set of segments.
|
static Lines |
create(ARGBColor color,
List<Vector3d> sequenceOfPoints,
Lines.LinePattern linePattern,
float lineThickness)
Creates visualization of segments connecting the given sequence of points.
|
float |
getLineThickness()
Returns the line thickness.
|
Lines.LinePattern |
getPatternType()
Returns the pattern type of the drawn lines.
|
createAngle, createArea, createBoundingBox, createDimension, getColor, withColor
static Lines create(ARGBColor color, Collection<Segment3d> segments, Lines.LinePattern linePattern, float lineThickness)
color
- the color of the displayed segmentssegments
- the segments to be visualizedlinePattern
- the line pattern of the displayed segmentslineThickness
- the thickness of the displayed line segmentsIllegalArgumentException
- if no segment is givenNullPointerException
- if collection of segments is nullstatic Lines create(ARGBColor color, List<Vector3d> sequenceOfPoints, Lines.LinePattern linePattern, float lineThickness)
The last point is not connected to the first point.
color
- the color of the displayed segmentssequenceOfPoints
- a sequence of two or more pointslinePattern
- the line pattern of the displayed segmentslineThickness
- the thickness of the displayed line segmentsIllegalArgumentException
- if given sequence of points has fewer than two pointsNullPointerException
- if list of points is nullLines.LinePattern getPatternType()
float getLineThickness()
Copyright © 2020 Solibri, Inc.. All rights reserved.