Package cz.fidentis.analyst.engines.face
Record Class CuttingPlanesUtils.CrossSectionPlane
java.lang.Object
java.lang.Record
cz.fidentis.analyst.engines.face.CuttingPlanesUtils.CrossSectionPlane
- Record Components:
isVisible
- Cutting plane is shownnormalVector
- Normal vector determining direction of cutting planecuttingPlane
- Cutting plane to be used
- Enclosing class:
CuttingPlanesUtils
-
Constructor Summary
ConstructorsConstructorDescriptionCrossSectionPlane
(Boolean isVisible, javax.vecmath.Vector3d normalVector, Plane cuttingPlane) Creates an instance of aCrossSectionPlane
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecuttingPlane
record component.final 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.javax.vecmath.Vector3d
Returns the value of thenormalVector
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
CrossSectionPlane
public CrossSectionPlane(Boolean isVisible, javax.vecmath.Vector3d normalVector, Plane cuttingPlane) Creates an instance of aCrossSectionPlane
record class.- Parameters:
isVisible
- the value for theisVisible
record componentnormalVector
- the value for thenormalVector
record componentcuttingPlane
- the value for thecuttingPlane
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)
. -
isVisible
Returns the value of theisVisible
record component.- Returns:
- the value of the
isVisible
record component
-
normalVector
public javax.vecmath.Vector3d normalVector()Returns the value of thenormalVector
record component.- Returns:
- the value of the
normalVector
record component
-
cuttingPlane
Returns the value of thecuttingPlane
record component.- Returns:
- the value of the
cuttingPlane
record component
-