com.supermap.ar.areffect.preset
Class ExShapeGenerator
- java.lang.Object
-
- com.supermap.ar.areffect.preset.ExShapeGenerator
-
public class ExShapeGenerator extends java.lang.Object
ExtensionShapeGenerator Extended shape generator
-
-
Constructor Summary
Constructors Constructor and Description ExShapeGenerator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description BaseShape
generateCircumscribedCube(AREffectElement element, Color color)
Generates the bounding cubeBaseShape
generateCircumscribedCubeOutLine(AREffectElement element, float outlineRadius, Color color)
Generates the outline of the bounding cubestatic ExShapeGenerator
getInstance()
Gets instance
-
-
-
Method Detail
-
getInstance
public static ExShapeGenerator getInstance()
Gets instance- Returns:
-
generateCircumscribedCubeOutLine
public BaseShape generateCircumscribedCubeOutLine(AREffectElement element, float outlineRadius, Color color)
Generates the outline of the bounding cube- Parameters:
element
-outlineRadius
-- Returns:
-
generateCircumscribedCube
public BaseShape generateCircumscribedCube(AREffectElement element, Color color)
Generates the bounding cube- Parameters:
element
-color
-- Returns:
-
-