The SEDRIS Data Representation Model
APPENDIX A - Classes Linear Geometry |
---|
An instance of this DRM class is a geometric linear representation.
A <Line> instance can be rendered as a single light point,
as depicted in
A <Line> instance can be rendered as three line segments,
as depicted in
SE_Short_Integer_Unsigned | count; | (notes) |
---|---|---|
SE_Boolean | suppress_last; | (notes) |
EXAMPLE A <Polygon> instance can be decomposed into multiple <Polygon> instances representing subfaces.
The count field of a <Linear Geometry> instance indicates how the <Linear Geometry> instance is to be rendered. A count field value of zero for a given <Linear Geometry> instance L indicates that L is to be rendered as one solid line segment, and the suppress_last field does not apply.
If count is greater than zero and L has a <Light Rendering Properties> component, the following applies:
count is the number of evenly spaced light points to be rendered along L.
The distance between light points is calculated by dividing the total length of L by count - 1.
No additional factors apply.
If count is greater than zero and L does not have a <Light Rendering Properties> component, the following applies:
count is the number of evenly spaced line segments to be rendered along L.
If count is one, a single solid line segment is used and the suppress_last field does not apply.
No additional factors apply.
If count is greater than one, the suppress_last field specifies whether the last segment or point in the sequence is suppressed or rendered.
|