Interface Lines
- All Superinterfaces:
- VisualizationItem<Lines>
Visualization item for visualizing segments.
- Since:
- 9.10.2
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic enumDescribes pattern of the drawn lines.
- 
Method SummaryModifier and TypeMethodDescriptionstatic Linescreate(ARGBColor color, Collection<Segment3d> segments, Lines.LinePattern linePattern, float lineThickness) Creates visualization of a set of segments.static Linescreate(ARGBColor color, List<Vector3d> sequenceOfPoints, Lines.LinePattern linePattern, float lineThickness) Creates visualization of segments connecting the given sequence of points.floatReturns the line thickness.Returns the pattern type of the drawn lines.Returns the line segments.Methods inherited from interface com.solibri.smc.api.visualization.VisualizationItemgetColor, withColor
- 
Method Details- 
createstatic Lines create(ARGBColor color, Collection<Segment3d> segments, Lines.LinePattern linePattern, float lineThickness) Creates visualization of a set of segments.- Parameters:
- color- the color of the displayed segments
- segments- the segments to be visualized
- linePattern- the line pattern of the displayed segments
- lineThickness- the thickness of the displayed line segments
- Returns:
- the lines visualization
- Throws:
- IllegalArgumentException- if no segment is given
- NullPointerException- if collection of segments is null
- Since:
- 9.10.2
 
- 
createstatic Lines create(ARGBColor color, List<Vector3d> sequenceOfPoints, Lines.LinePattern linePattern, float lineThickness) Creates visualization of segments connecting the given sequence of points.The last point is not connected to the first point. - Parameters:
- color- the color of the displayed segments
- sequenceOfPoints- a sequence of two or more points
- linePattern- the line pattern of the displayed segments
- lineThickness- the thickness of the displayed line segments
- Returns:
- the lines visualization
- Throws:
- IllegalArgumentException- if given sequence of points has fewer than two points
- NullPointerException- if list of points is null
- Since:
- 9.10.2
 
- 
getPatternTypeLines.LinePattern getPatternType()Returns the pattern type of the drawn lines.- Returns:
- the drawing pattern of the lines
- Since:
- 9.10.2
 
- 
getLineThicknessfloat getLineThickness()Returns the line thickness.- Returns:
- the line thickness
- Since:
- 9.10.2
 
- 
getSegmentsReturns the line segments.- Returns:
- the segments
- Since:
- 9.12.0
 
 
-