Class TLspShapeDiscretizer
java.lang.Object
com.luciad.view.lightspeed.geometry.discretization.TLspShapeDiscretizer
- All Implemented Interfaces:
ILspShapeDiscretizer
Default implementation of
ILspShapeDiscretizer
. This implementation
supports the following shapes:
ILcdArc
ILcdArcBand
ILcdCircle
ILcdEllipse
ILcdPolyline
ILcdPolygon
ILcdComplexPolygon
ILcdGeoBuffer
ILcdCurve
ILcdRing
ILcdSurface
ILcdText
ILcdBounds
ILcdExtrudedShape
if the base shape is any of the aboveTLcdLonLatBuffer
TLcdLonLatHeightBuffer
TLcdLonLatHeightDome
TLcdLonLatHeightSphere
ILcdVariableGeoBuffer
ILcd3DArcBand
ILcdShapeList
ILcdText
objects, a default font is used.- Since:
- 2012.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
discretizeSFCT
(Object aDomainObject, TLspShapeDiscretizationParameters aParameters, TLspContext aContext, ALspEditable3DMesh a3DMeshSFCT) Discretizes the given domain object, typically anILcdShape
.
-
Constructor Details
-
TLspShapeDiscretizer
public TLspShapeDiscretizer()Creates a newTLspShapeDiscretizer
instance.
-
-
Method Details
-
discretizeSFCT
public void discretizeSFCT(Object aDomainObject, TLspShapeDiscretizationParameters aParameters, TLspContext aContext, ALspEditable3DMesh a3DMeshSFCT) throws TLspDiscretizationException Description copied from interface:ILspShapeDiscretizer
Discretizes the given domain object, typically anILcdShape
. The result of the discretization is output to anALspEditable3DMesh
. The result of this method is dependent on the contents ofaParameters
, which determines e.g. which parts of the shape (outline, interior) need to be discretized. Implementations ofILspShapeDiscretizer
should ignore values ofTLspShapeDiscretizationParameters.getMaximalEdgeLength()
} smaller than or equal to 0.- Specified by:
discretizeSFCT
in interfaceILspShapeDiscretizer
- Parameters:
aDomainObject
- the object to be discretizedaParameters
- provides parameters for the discretizationaContext
- context information regarding the objecta3DMeshSFCT
- receives the results of the discretization- Throws:
TLspDiscretizationException
- Instances ofILspShapeDiscretizer
should throw this exception when they cannot discretize the specified combination of domain object and discretization parameters.
-