com.supermap.ar.areffect.excavator
Class ExcavationParameter.Builder
- java.lang.Object
-
- com.supermap.ar.areffect.excavator.ExcavationParameter.Builder
-
- Enclosing class:
- ExcavationParameter
public static class ExcavationParameter.Builder extends java.lang.Object
creator
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ExcavationParameter
build()
create parametersExcavationParameter.Builder
setCenterPoint(Point3D centerPoint)
Sets the excavation centerExcavationParameter.Builder
setFixedDirection(Vector3 vector3)
sets fixed orientation Used to define the direction of ceiling and ground rectangular excavationExcavationParameter.Builder
setInnerMargin(float innerMargin)
sets padding Affects the actual range of the obtained screen coordinatesExcavationParameter.Builder
setOffset(float offset)
Sets the excavation depthExcavationParameter.Builder
setOutlineWidth(float outlineWidth)
Sets the outline widthExcavationParameter.Builder
setRadius(float radius)
Sets the excavation radius Contains X and Y directionsExcavationParameter.Builder
setRadiusX(float radiusX)
Sets the excavation radius in the X directionExcavationParameter.Builder
setRadiusY(float radiusY)
Sets the excavation radius in the y directionExcavationParameter.Builder
setType(ExcavationParameter.ShapeType type)
Sets the Excavation Shape
-
-
-
Method Detail
-
build
public ExcavationParameter build()
create parameters- Returns:
-
setType
public ExcavationParameter.Builder setType(ExcavationParameter.ShapeType type)
Sets the Excavation Shape- Parameters:
type
- shape type- Returns:
-
setRadiusX
public ExcavationParameter.Builder setRadiusX(float radiusX)
Sets the excavation radius in the X direction- Parameters:
radiusX
-- Returns:
-
setRadius
public ExcavationParameter.Builder setRadius(float radius)
Sets the excavation radiusContains X and Y directions
- Parameters:
radius
-- Returns:
-
setRadiusY
public ExcavationParameter.Builder setRadiusY(float radiusY)
Sets the excavation radius in the y direction- Parameters:
radiusY
-- Returns:
-
setOffset
public ExcavationParameter.Builder setOffset(float offset)
Sets the excavation depth- Parameters:
offset
-- Returns:
-
setCenterPoint
public ExcavationParameter.Builder setCenterPoint(Point3D centerPoint)
Sets the excavation center- Parameters:
centerPoint
-- Returns:
-
setInnerMargin
public ExcavationParameter.Builder setInnerMargin(float innerMargin)
sets paddingAffects the actual range of the obtained screen coordinates
- Parameters:
innerMargin
-- Returns:
-
setFixedDirection
public ExcavationParameter.Builder setFixedDirection(Vector3 vector3)
sets fixed orientationUsed to define the direction of ceiling and ground rectangular excavation
- Parameters:
vector3
-- Returns:
-
setOutlineWidth
public ExcavationParameter.Builder setOutlineWidth(float outlineWidth)
Sets the outline width- Parameters:
outlineWidth
-
-
-