// //ORIGINAL LINE: Segment3D orderedCopy() const public Segment3D orderedCopy() { if (Vector3Comparator.Operator(mB, mA)) { return(new Segment3D(mB, mA)); } return(this); }
// //ORIGINAL LINE: bool operator ()(const Segment3D& one, const Segment3D& two) const //C++ TO C# CONVERTER TODO TASK: The () operator cannot be overloaded in C#: public static bool Operator(Segment3D one, Segment3D two) { if (one.epsilonEquivalent(two)) { return(false); } if ((one.mA - two.mA).SquaredLength > 1e-6) { return(Vector3Comparator.Operator(one.mA, two.mA)); } return(Vector3Comparator.Operator(one.mB, two.mB)); }