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:
ILcdArcILcdArcBandILcdCircleILcdEllipseILcdPolylineILcdPolygonILcdComplexPolygonILcdGeoBufferILcdCurveILcdRingILcdSurfaceILcdTextILcdBoundsILcdExtrudedShapeif the base shape is any of the aboveTLcdLonLatBufferTLcdLonLatHeightBufferTLcdLonLatHeightDomeTLcdLonLatHeightSphereILcdVariableGeoBufferILcd3DArcBandILcdShapeList
ILcdText objects, a default font is used.- Since:
- 2012.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddiscretizeSFCT(Object aDomainObject, TLspShapeDiscretizationParameters aParameters, TLspContext aContext, ALspEditable3DMesh a3DMeshSFCT) Discretizes the given domain object, typically anILcdShape.
-
Constructor Details
-
TLspShapeDiscretizer
public TLspShapeDiscretizer()Creates a newTLspShapeDiscretizerinstance.
-
-
Method Details
-
discretizeSFCT
public void discretizeSFCT(Object aDomainObject, TLspShapeDiscretizationParameters aParameters, TLspContext aContext, ALspEditable3DMesh a3DMeshSFCT) throws TLspDiscretizationException Description copied from interface:ILspShapeDiscretizerDiscretizes 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 ofILspShapeDiscretizershould ignore values ofTLspShapeDiscretizationParameters.getMaximalEdgeLength()} smaller than or equal to 0.- Specified by:
discretizeSFCTin 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 ofILspShapeDiscretizershould throw this exception when they cannot discretize the specified combination of domain object and discretization parameters.
-