示例#1
0
        public override bool Equals(ForeignEdge other)
        {
            if (other == null)
            {
                return(false);
            }
            if (other == this)
            {
                return(true);
            }

            var otherEdge = other as BezierPatchForeignEdge;

            return(otherEdge != null && otherEdge.nurbsCurve == nurbsCurve);
        }
        public override bool Equals(ForeignEdge other)
        {
            if (other == null)
                return false;
            if (other == this)
                return true;

            var otherEdge = other as BezierPatchForeignEdge;
            return otherEdge != null && otherEdge.nurbsCurve == nurbsCurve;
        }