---
Product: Aspose.3D
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/java/halfspace
---

# HalfSpace

## Overview

`HalfSpace` is a class in Aspose.3D FOSS for Java.
Inherits from: `Entity`.

HalfSpace represents a infinity space which is split by a plane, this can be used with BooleanOperator.

This class declares 26 methods for HalfSpace objects in Java programs.
Available methods include: `A3DObject`, `Entity`, `HalfSpace`, `SceneObject`, `findProperty`, `getBoundingBox`, `getEntityRendererKey`, `getExcluded`, `getName`, `getNormal`, `getParentNode`, `getParentNodes`, and 11 additional methods.
Public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: `boundingBox`, `entityRendererKey`, `excluded`, `name`, `normal`, `parentNode`, and 4 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `normal` | `Vector3` | Read/Write | 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. |
| `position` | `Vector3` | Read/Write | 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. |
| `parentNode` | `Node` | Read/Write | Gets or sets the parent node. |
| `parentNodes` | `ArrayList<Node>` | Read | Gets the parent nodes. |
| `excluded` | `boolean` | Read/Write | Gets or sets the excluded. |
| `boundingBox` | `BoundingBox` | Read | Gets the bounding box. |
| `entityRendererKey` | `EntityRendererKey` | Read | Gets the entity renderer key. |
| `scene` | `Scene` | Read | Gets the scene. |
| `name` | `String` | Read/Write | Gets or sets the name. |
| `properties` | `PropertyCollection` | Read | Gets the properties. |

## Methods

| Signature | Description |
|-----------|-------------|
| `HalfSpace()` | Constructs a new instance of HalfSpace. |
| `getNormal()` → `Vector3` | 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. |
| `setNormal(value: Vector3)` | 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. |
| `getPosition()` → `Vector3` | 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. |
| `setPosition(value: Vector3)` | 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. |
| `Entity(name: String)` | Calls Entity(name) on this HalfSpace instance. |
| `getParentNode()` → `Node` | Returns the parent node. |
| `setParentNode(value: Node)` | Sets the parent node value. |
| `getParentNodes()` → `ArrayList<Node>` | Returns the parent nodes. |
| `getExcluded()` → `boolean` | Returns the excluded. |
| `setExcluded(value: boolean)` | Sets the excluded value. |
| `getBoundingBox()` → `BoundingBox` | Returns the bounding box. |
| `getEntityRendererKey()` → `EntityRendererKey` | Returns the entity renderer key. |
| `SceneObject()` | HalfSpace represents a infinity space which is split by a plane, this can be used with BooleanOperator. |
| `SceneObject(name: String)` | Calls SceneObject(name) on this HalfSpace instance. |
| `getScene()` → `Scene` | Returns the scene. |
| `A3DObject()` | Calls A3DObject on this HalfSpace instance. |
| `A3DObject(name: String)` | Calls A3DObject(name) on this HalfSpace instance. |
| `getName()` → `String` | Returns the name. |
| `setName(name: String)` | Sets the name value. |
| `getProperties()` → `PropertyCollection` | Returns the properties. |
| `findProperty(name: String)` → `Property` | Calls findProperty(name) on this HalfSpace instance. |
| `getProperty(name: String)` → `Object` | Calls getProperty(name) on this HalfSpace instance. |
| `setProperty(name: String, value: Object)` | Sets the property value. |
| `removeProperty(name: String)` → `boolean` | Calls removeProperty(name) on this HalfSpace instance. |
| `removeProperty(property: Property)` → `boolean` | Calls removeProperty(property) on this HalfSpace instance. |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)