public class HalfSpace extends Entity
HalfSpace represents a infinity space which is split by a plane, this can be used with BooleanOperatorname, properties| Constructor and Description |
|---|
HalfSpace()
Constructs a new instance of
HalfSpace |
HalfSpace(Vector3 normal,
Vector3 position)
Constructs a new instance of
HalfSpace with given normal vector and a position on the cutter plane; |
| Modifier and Type | Method and Description |
|---|---|
Vector3 |
getNormal()
The normal of the split plane, the plane is defined as N * P + D = 0 where N is Normal and P is any point on the plane.
|
Vector3 |
getPosition()
The any point on the split plane, the plane is defined as N * P + D = 0 where N is Normal and P is any point on the plane.
|
void |
setNormal(Vector3 value)
The normal of the split plane, the plane is defined as N * P + D = 0 where N is Normal and P is any point on the plane.
|
void |
setPosition(Vector3 value)
The any point on the split plane, the plane is defined as N * P + D = 0 where N is Normal and P is any point on the plane.
|
getBoundingBox, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNodegetScenefindProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setPropertypublic HalfSpace()
HalfSpacepublic Vector3 getNormal()
public void setNormal(Vector3 value)
value - New valuepublic Vector3 getPosition()
public void setPosition(Vector3 value)
value - New value