Modifier and Type | Class and Description |
---|---|
static class |
TLspShapeDiscretizationParameters.Builder
Builder for creating instances of
TLspShapeDiscretizationParameters . |
Modifier | Constructor and Description |
---|---|
protected |
TLspShapeDiscretizationParameters(TLspShapeDiscretizationParameters.Builder aBuilder)
Constructs new shape discretization parameters based on the given builder.
|
Modifier and Type | Method and Description |
---|---|
Set<TLcd3DPrimitiveType> |
getAllowedPrimitives()
Gets the set of allowed primitive types in the resulting discretized mesh.
|
int |
getGeoBufferPrecision()
Return the precision for geobuffers being discretized.
|
double |
getMaximalEdgeLength()
Returns the maximal
edge length to be enforced during discretization for lines.
|
double |
getMaximalFillEdgeLength()
Returns the maximal
edge length to be enforced during discretization for fill primitives (i.e.,
triangles, quads, etc.).
|
ILcdModelXYZWorldTransformation |
getModelXYZWorldTransformation()
Returns the custom
ILcdModelXYZWorldTransformation to be used
by the shape discretizer. |
Collection<TLspShapeDiscretizationMode> |
getModes()
Returns the discretization modes to use (interior, outline).
|
List<ALspStyle> |
getStyles()
Returns the styles associated with the shape being discretized.
|
protected TLspShapeDiscretizationParameters(TLspShapeDiscretizationParameters.Builder aBuilder)
aBuilder
- the builder used to initialize the discretization parameterspublic Collection<TLspShapeDiscretizationMode> getModes()
public ILcdModelXYZWorldTransformation getModelXYZWorldTransformation()
ILcdModelXYZWorldTransformation
to be used
by the shape discretizer.ILcdModelXYZWorldTransformation
to be used
by the shape discretizer.public double getMaximalEdgeLength()
public double getMaximalFillEdgeLength()
public Set<TLcd3DPrimitiveType> getAllowedPrimitives()
TRIANGLES
and LINES
, are allowed.
If this method returns null
, all primitive types are allowed.public List<ALspStyle> getStyles()
null
if the styles are not known at discretization time or if the
painter deems style to be irrelevant to the discretization process.public int getGeoBufferPrecision()