Click or drag to resize

DividedCurve Class

Divides a curve for meshing.
Inheritance Hierarchy
SystemObject
  Karamba.Utilities.MesherDividedCurve

Namespace:  Karamba.Utilities.Mesher
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public class DividedCurve

The DividedCurve type exposes the following members.

Constructors
  NameDescription
Public methodDividedCurve
Initializes a new instance of the DividedCurve class.
Top
Properties
  NameDescription
Public property_subdivisions
Gets the list of pairs of curve parameters of subdivisions and random numbers Antwort auf Frage, warum zufällig: Es geht um Erzeugen von eindeutigen Hashes. Ich hätte es Hash nennen sollen. Die Funktionen GetHash() etc. erzeugen nicht immer eindeutige Hashes, aber Zufallszahlen schon. C#'s getHashCode() Funktion hatte einmal einen schwer zu debuggenden Bug verursacht, weil sie nicht zwischen Rhino's Punkten unterschied. Mit Zufallszahlen war das Problem behoben. Die Wahrscheinlichkeit, merhmals dieselbe Zahl zu ziehen, ist verschwindend gering, es gibt genug Integer, nämlich ca. zwei Milliarden. Man kann es ohne Zufallszahl machen, müsste aber dann mehr Aufwand treiben für einen geringen Gewinn.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsertSubdivisionAt
insert a subdivision at a given position.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMerge
Adds another DividedCurve-object to this.
Public methodpoints
Return list of points which correspond to subdivisions.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also