Package cz.fidentis.analyst.engines.face
Record Class CuttingPlanesUtils.CuttingPlaneConfig
java.lang.Object
java.lang.Record
cz.fidentis.analyst.engines.face.CuttingPlanesUtils.CuttingPlaneConfig
- Record Components:
type
- Symmetry or bounding box typevectorDirection
- Normal vector determining direction of cutting planeisVisible
- Cutting plane is shownsliderValue
- shift of cutting plane at slider
- Enclosing class:
CuttingPlanesUtils
-
Constructor Summary
ConstructorsConstructorDescriptionCuttingPlaneConfig
(String type, javax.vecmath.Vector3d vectorDirection, Boolean isVisible, Integer sliderValue) Creates an instance of aCuttingPlaneConfig
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theisVisible
record component.Returns the value of thesliderValue
record component.final String
toString()
Returns a string representation of this record class.type()
Returns the value of thetype
record component.javax.vecmath.Vector3d
Returns the value of thevectorDirection
record component.
-
Constructor Details
-
CuttingPlaneConfig
public CuttingPlaneConfig(String type, javax.vecmath.Vector3d vectorDirection, Boolean isVisible, Integer sliderValue) Creates an instance of aCuttingPlaneConfig
record class.- Parameters:
type
- the value for thetype
record componentvectorDirection
- the value for thevectorDirection
record componentisVisible
- the value for theisVisible
record componentsliderValue
- the value for thesliderValue
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
type
Returns the value of thetype
record component.- Returns:
- the value of the
type
record component
-
vectorDirection
public javax.vecmath.Vector3d vectorDirection()Returns the value of thevectorDirection
record component.- Returns:
- the value of the
vectorDirection
record component
-
isVisible
Returns the value of theisVisible
record component.- Returns:
- the value of the
isVisible
record component
-
sliderValue
Returns the value of thesliderValue
record component.- Returns:
- the value of the
sliderValue
record component
-