Package cz.fidentis.analyst.engines.cut
Record Class CrossSectionConfig
java.lang.Object
java.lang.Record
cz.fidentis.analyst.engines.cut.CrossSectionConfig
- Record Components:
plane
- Cutting plane
Configuration for cross-section calculations of inspected meshes.
-
Constructor Summary
ConstructorsConstructorDescriptionCrossSectionConfig
(Plane plane) Creates an instance of aCrossSectionConfig
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Instantiates and returns a visitor.final int
hashCode()
Returns a hash code value for this object.plane()
Returns the value of theplane
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
CrossSectionConfig
Creates an instance of aCrossSectionConfig
record class.- Parameters:
plane
- the value for theplane
record component
-
-
Method Details
-
getVisitor
Instantiates and returns a visitor.- Returns:
- a visitor
-
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)
. -
plane
Returns the value of theplane
record component.- Returns:
- the value of the
plane
record component
-