GeometryGym.Ifc.IfcGrid.getRepresentation C# (CSharp) Méthode

getRepresentation() private static méthode

private static getRepresentation ( List uAxes, List vAxes, List wAxes ) : IfcProductRepresentation
uAxes List
vAxes List
wAxes List
Résultat IfcProductRepresentation
        private static IfcProductRepresentation getRepresentation(List<IfcGridAxis> uAxes, List<IfcGridAxis> vAxes, List<IfcGridAxis> wAxes)
        {
            List<IfcGeometricSetSelect> set = new List<IfcGeometricSetSelect>();
            if (uAxes != null)
            {
                foreach (IfcGridAxis axis in uAxes)
                    set.Add(axis.AxisCurve);
            }
            if (vAxes != null)
            {
                foreach (IfcGridAxis axis in vAxes)
                    set.Add(axis.AxisCurve);
            }
            if (wAxes != null)
            {
                foreach (IfcGridAxis axis in wAxes)
                    set.Add(axis.AxisCurve);
            }
            return new IfcProductDefinitionShape(new IfcShapeRepresentation(new IfcGeometricCurveSet(set)));
        }