OpenSim.Region.Framework.Scenes.SceneObjectPart.HasCutHollowDimpleProfileCut C# (CSharp) Method

HasCutHollowDimpleProfileCut() protected static method

Tell us if this object has cut, hollow, dimple, and other factors affecting the number of faces
protected static HasCutHollowDimpleProfileCut ( PrimType primType, OpenSim.Framework.PrimitiveBaseShape shape, bool &hasCut, bool &hasHollow, bool &hasDimple, bool &hasProfileCut ) : void
primType PrimType
shape OpenSim.Framework.PrimitiveBaseShape
hasCut bool
hasHollow bool
hasDimple bool
hasProfileCut bool
return void
        protected static void HasCutHollowDimpleProfileCut(PrimType primType, PrimitiveBaseShape shape, out bool hasCut, out bool hasHollow,
            out bool hasDimple, out bool hasProfileCut)
        {
            if (primType == PrimType.BOX
                ||
                primType == PrimType.CYLINDER
                ||
                primType == PrimType.PRISM)

                hasCut = (shape.ProfileBegin > 0) || (shape.ProfileEnd > 0);
            else
                hasCut = (shape.PathBegin > 0) || (shape.PathEnd > 0);

            hasHollow = shape.ProfileHollow > 0;
            hasDimple = (shape.ProfileBegin > 0) || (shape.ProfileEnd > 0); // taken from llSetPrimitiveParms
            hasProfileCut = hasDimple; // is it the same thing?
        }
        
SceneObjectPart