Top Description Fields Constructors Methods
org.apache.commons.math3.geometry.partitioning

public Class BoundaryAttribute<S extends Space>

extends Object
Class Inheritance
Type Parameters
<S>
Type of the space.
Imports
org.apache.commons.math3.geometry.Space

Class holding boundary attributes.

This class is used for the attributes associated with the nodes of region boundary shell trees returned by the Region.getTree(includeBoundaryAttributes) when the boolean includeBoundaryAttributes parameter is set to true. It contains the parts of the node cut sub-hyperplane that belong to the boundary.

This class is a simple placeholder, it does not provide any processing methods.

Since
3.0
See Also
Region#getTree

Field Summary

Modifier and TypeField and Description
private final SubHyperplane<S>
plusInside

Part of the node cut sub-hyperplane that belongs to the boundary and has the inside of the region on the plus side of its underlying hyperplane (may be null).

private final SubHyperplane<S>
plusOutside

Part of the node cut sub-hyperplane that belongs to the boundary and has the outside of the region on the plus side of its underlying hyperplane (may be null).

private final NodesSet<S>
splitters

Sub-hyperplanes that were used to split the boundary part.

Constructor Summary

AccessConstructor and Description
public
BoundaryAttribute(final SubHyperplane<S>
part of the node cut sub-hyperplane that belongs to the boundary and has the outside of the region on the plus side of its underlying hyperplane (may be null)
plusOutside
,
final SubHyperplane<S>
part of the node cut sub-hyperplane that belongs to the boundary and has the inside of the region on the plus side of its underlying hyperplane (may be null)
plusInside
)
Deprecated as of 3.4, the constructor has been replaced by a new one which is not public anymore, as it is intended to be used only by BoundaryBuilder

Simple constructor.

pack-priv
BoundaryAttribute(final SubHyperplane<S>
part of the node cut sub-hyperplane that belongs to the boundary and has the outside of the region on the plus side of its underlying hyperplane (may be null)
plusOutside
,
final SubHyperplane<S>
part of the node cut sub-hyperplane that belongs to the boundary and has the inside of the region on the plus side of its underlying hyperplane (may be null)
plusInside
,
final NodesSet<S>
sub-hyperplanes that were used to split the boundary part (may be null)
splitters
)

Simple constructor.

Method Summary

Modifier and TypeMethod and Description
public SubHyperplane<S>

Returns:

part of the node cut sub-hyperplane that belongs to the boundary and has the inside of the region on the plus side of its underlying hyperplane
getPlusInside
()

Get the part of the node cut sub-hyperplane that belongs to the boundary and has the inside of the region on the plus side of its underlying hyperplane.

public SubHyperplane<S>

Returns:

part of the node cut sub-hyperplane that belongs to the boundary and has the outside of the region on the plus side of its underlying hyperplane
getPlusOutside
()

Get the part of the node cut sub-hyperplane that belongs to the boundary and has the outside of the region on the plus side of its underlying hyperplane.

public NodesSet<S>

Returns:

sub-hyperplanes that were used to split the boundary part
getSplitters
()

Get the sub-hyperplanes that were used to split the boundary part.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

plusInsideback to summary
private final SubHyperplane<S> plusInside

Part of the node cut sub-hyperplane that belongs to the boundary and has the inside of the region on the plus side of its underlying hyperplane (may be null).

plusOutsideback to summary
private final SubHyperplane<S> plusOutside

Part of the node cut sub-hyperplane that belongs to the boundary and has the outside of the region on the plus side of its underlying hyperplane (may be null).

splittersback to summary
private final NodesSet<S> splitters

Sub-hyperplanes that were used to split the boundary part.

Constructor Detail

BoundaryAttributeback to summary
public BoundaryAttribute(final SubHyperplane<S> plusOutside, final SubHyperplane<S> plusInside)

Deprecated

as of 3.4, the constructor has been replaced by a new one which is not public anymore, as it is intended to be used only by BoundaryBuilder

Simple constructor.

Parameters
plusOutside:SubHyperplane<S>

part of the node cut sub-hyperplane that belongs to the boundary and has the outside of the region on the plus side of its underlying hyperplane (may be null)

plusInside:SubHyperplane<S>

part of the node cut sub-hyperplane that belongs to the boundary and has the inside of the region on the plus side of its underlying hyperplane (may be null)

Annotations
@Deprecated
BoundaryAttributeback to summary
pack-priv BoundaryAttribute(final SubHyperplane<S> plusOutside, final SubHyperplane<S> plusInside, final NodesSet<S> splitters)

Simple constructor.

Parameters
plusOutside:SubHyperplane<S>

part of the node cut sub-hyperplane that belongs to the boundary and has the outside of the region on the plus side of its underlying hyperplane (may be null)

plusInside:SubHyperplane<S>

part of the node cut sub-hyperplane that belongs to the boundary and has the inside of the region on the plus side of its underlying hyperplane (may be null)

splitters:NodesSet<S>

sub-hyperplanes that were used to split the boundary part (may be null)

Since
3.4

Method Detail

getPlusInsideback to summary
public SubHyperplane<S> getPlusInside()

Get the part of the node cut sub-hyperplane that belongs to the boundary and has the inside of the region on the plus side of its underlying hyperplane.

Returns:SubHyperplane<S>

part of the node cut sub-hyperplane that belongs to the boundary and has the inside of the region on the plus side of its underlying hyperplane

getPlusOutsideback to summary
public SubHyperplane<S> getPlusOutside()

Get the part of the node cut sub-hyperplane that belongs to the boundary and has the outside of the region on the plus side of its underlying hyperplane.

Returns:SubHyperplane<S>

part of the node cut sub-hyperplane that belongs to the boundary and has the outside of the region on the plus side of its underlying hyperplane

getSplittersback to summary
public NodesSet<S> getSplitters()

Get the sub-hyperplanes that were used to split the boundary part.

Returns:NodesSet<S>

sub-hyperplanes that were used to split the boundary part