Esempio n. 1
0
 public void MirrorY(double dAxis, EN_CLSS_ON_OFF nMirrorNv)
 {
     Y = dAxis - (Y - dAxis);
     if (nMirrorNv == EN_CLSS_ON_OFF.CCL_ON)
     {
         YNv *= -1;
     }
 }
Esempio n. 2
0
 public void MirrorX(double dAxis, EN_CLSS_ON_OFF nMirrorNv)
 {
     X = dAxis - (X - dAxis);
     if (nMirrorNv == EN_CLSS_ON_OFF.CCL_ON)
     {
         XNv *= -1;
     }
 }
Esempio n. 3
0
        //public short GetIntersectionWithArc(GEArc pArc, out double dX1, out double dY1, out double dZ1, out double dX2, out double dY2, out double dZ2);

        public void InitCommonParameters(int nID, EN_CLSS_GEOELE_TYPE nGeoType, EN_CLSS_GEO_LAYER nLayer, EN_CLSS_ON_OFF nPassThrough, EN_CLSS_ON_OFF nFirst, int nColor, GETechData pTechData, string sDxfLayer)
        {
            ID          = nID;
            Layer       = nLayer;
            PassThrough = nPassThrough;
            First       = nFirst;
            Color       = nColor;
            TechData    = pTechData;
            DxfLayer    = sDxfLayer;
        }
Esempio n. 4
0
 public Geometry(Geometry other)
 {
     foreach (IGeoElement item in other)
     {
         Add(item, "");
     }
     Side        = other.Side;
     Corner      = other.Corner;
     Dir         = other.Dir;
     Degenerated = other.Degenerated;
 }
Esempio n. 5
0
 public void Init(EN_CLSS_REP_TYPE nType, int nCount, double dStepX, double dStepY, double dStepRadius, double dStepInitAng, double dStepAng, double dXc, double dYc, EN_CLSS_ON_OFF nLockFirstWork)
 {
     Type          = nType;
     Count         = nCount;
     StepX         = dStepX;
     StepY         = dStepY;
     StepRadius    = dStepRadius;
     StepInitAng   = dStepInitAng;
     StepAng       = dStepAng;
     XCenter       = dXc;
     YCenter       = dYc;
     LockFirstWork = nLockFirstWork;
 }
Esempio n. 6
0
 public void SetRepetitionParameters(EN_CLSS_REP_TYPE nType, int nCount, double dStepX, double dStepY, double dDistance, double dAngle, double dStepRadius, double dStepInitAng, double dStepAng, double dXc, double dYc, EN_CLSS_ON_OFF nLockFirstWork)
 {
     Type          = nType;
     Count         = nCount;
     StepX         = dStepX;
     StepY         = dStepY;
     Distance      = dDistance;
     Angle         = dAngle;
     StepRadius    = dStepRadius;
     StepInitAng   = dStepInitAng;
     StepAng       = dStepAng;
     XCenter       = dXc;
     YCenter       = dYc;
     LockFirstWork = nLockFirstWork;
 }
Esempio n. 7
0
 public Repetitions(Repetitions other)
 {
     Type          = other.Type;
     Count         = other.Count;
     StepX         = other.StepX;
     StepY         = other.StepY;
     StepZ         = other.StepZ;
     StepRadius    = other.StepRadius;
     StepInitAng   = other.StepInitAng;
     StepAng       = other.StepAng;
     XCenter       = other.XCenter;
     YCenter       = other.YCenter;
     Distance      = other.Distance;
     Angle         = other.Angle;
     LockFirstWork = other.LockFirstWork;
 }
Esempio n. 8
0
 public void Discretize(double dMaxSegmentLength, EN_CLSS_ON_OFF nDecomposeAlsoLines, out EN_CLSS_ON_OFF nBadDiscretiz)
 {
     nBadDiscretiz = EN_CLSS_ON_OFF.CCL_OFF;
     throw new NotImplementedException();
 }
Esempio n. 9
0
 public void FilterLayer(int nLayersToRemove, EN_CLSS_ON_OFF nFilterAlsoVerticalLines)
 {
     throw new NotImplementedException();
 }
Esempio n. 10
0
 public int Intersect(IGeoElement pGeoElement, EN_CLSS_ON_OFF nExtend1, EN_CLSS_ON_OFF nExtend2, out Geometry pSolutions)
 {
     throw new NotImplementedException();
     return(-1);
 }
Esempio n. 11
0
 public void AppendGeometry(EN_CLSS_ON_OFF nCopy, EN_CLSS_ON_OFF nCopyPoints, Geometry pGeometry)
 {
     throw new NotImplementedException();
 }
Esempio n. 12
0
 public int Intersect(IGeoElement pGeoElement, EN_CLSS_ON_OFF nExtend1, EN_CLSS_ON_OFF nExtend2, out Geometry pSolutions, out IEnumerable arrIndex)
 {
     throw new NotImplementedException();
     return(0);
 }
Esempio n. 13
0
 public void DeleteZeroLengthEle(EN_CLSS_ON_OFF enDelStartPoint, object vTrasferisciTechdataElementiNulli)
 {
     throw new NotImplementedException();
 }
Esempio n. 14
0
 public void Rotate3D(double dOrigX, double dOrigY, double dOrigZ, double dAxisX, double dAxisY, double dAxisZ, double dRotAngle, EN_CLSS_ON_OFF nRotNv)
 {
     foreach (var item in items)
     {
         item.Rotate3D(dOrigX, dOrigY, dOrigZ, dAxisX, dAxisY, dAxisZ, dRotAngle, nRotNv);
     }
 }
Esempio n. 15
0
 public int Intersection(GELine pLine, EN_CLSS_ON_OFF nReverse, EN_CLSS_ON_OFF nRightCorr, out double dX, out double dY, out double dZ)
 {
     throw new NotImplementedException();
     return(0);
 }
Esempio n. 16
0
 public void MirrorY(double dAxis, EN_CLSS_ON_OFF nMirrorNv)
 {
     throw new NotImplementedException();
 }
Esempio n. 17
0
 public void ReferTo(int nNewCorner, double dWidth, double dHeight, EN_CLSS_ON_OFF nUseOnlyCWCCW)
 {
     throw new NotImplementedException();
 }
Esempio n. 18
0
 public void ExplodeGeometry(out Geometry pGeometry, EN_CLSS_ON_OFF nAddPoint, int nCorner)
 {
     throw new NotImplementedException();
 }
Esempio n. 19
0
 public int AddLinearInOutOnSharpCorners(double dParallelLeaningIn, double dParallelLeaningOut, double dPerpendicularLeaning, double dHoriCopyingDistance, double dExtraDepthFromPanel, double dVertCopyingDistance, EN_CLSS_GEO_LAYER nHCopyingLayer, EN_CLSS_GEO_LAYER nVCopyingLayer, EN_CLSS_ON_OFF nRightPerpLeaning, EN_CLSS_ON_OFF nAlsoOnExtremes, int nCorner, out Geometry pGeometry)
 {
     throw new NotImplementedException();
     return(-1);
 }
Esempio n. 20
0
 public void Rotate3D(double dOrigX, double dOrigY, double dOrigZ, double dAxisX, double dAxisY, double dAxisZ, double dRotAngle, EN_CLSS_ON_OFF nRotNv)
 {
     throw new NotImplementedException();
 }
Esempio n. 21
0
 public void ReverseBetweenReposition(EN_CLSS_ON_OFF nReverseLayer, EN_CLSS_ON_OFF nKeepSameStartNv)
 {
     throw new NotImplementedException();
 }
Esempio n. 22
0
 public void GetIntersection(GELine pLine, out EN_CLSS_ON_OFF nExists, out double dX, out double dY, out double dZ)
 {
     throw new NotImplementedException();
 }
Esempio n. 23
0
 public int AddLinearInOutOnExtremes(double dParallelLeaningIn, double dParallelLeaningOut, double dPerpendicularLeaning, double dHoriCopyingDistance, double dExtraDepthFromPanel, double dVertCopyingDistance, EN_CLSS_GEO_LAYER nHCopyingLayer, EN_CLSS_GEO_LAYER nVCopyingLayer, EN_CLSS_ON_OFF nRightPerpLeaning)
 {
     throw new NotImplementedException();
     return(0);
 }
Esempio n. 24
0
 public void SetSameNvToAll(double dX, double dY, double dZ, EN_CLSS_ON_OFF nAlsoCenterNv)
 {
     throw new NotImplementedException();
 }
Esempio n. 25
0
 public short JoinByExtend(Geometries pGeometriesToJoin, EN_CLSS_ON_OFF nAlsoStartEnd)
 {
     throw new NotImplementedException();
     return(0);
 }
Esempio n. 26
0
 public void PutWaitMirrorY(EN_CLSS_ON_OFF nVal)
 {
     throw new NotImplementedException();
 }
Esempio n. 27
0
 public int ZoomCornerEx(double dFirstElementZoom, double dSecondElementZoom, EN_CLSS_ON_OFF nRightZoom, EN_CLSS_ON_OFF nKeepElementsLength, double dPreIn, double dPreOut, double dRadius, double dDeltaIn, double dDeltaOut, double dDeltaRoundingRadius)
 {
     throw new NotImplementedException();
     return(0);
 }
Esempio n. 28
0
 public void UpdateWaitData(EN_CLSS_ON_OFF nMirrorX, EN_CLSS_ON_OFF nMirrorY, double dRotAngle)
 {
     throw new NotImplementedException();
 }
Esempio n. 29
0
 public EN_CLSS_RETURN_CODE IsValid(EN_CLSS_ON_OFF nOkIfConnected)
 {
     throw new NotImplementedException();
     return(EN_CLSS_RETURN_CODE.CCE_NOT_OK);
 }
Esempio n. 30
0
 public void GetCommonParameters(out int nID, out EN_CLSS_GEOELE_TYPE nGeoType, out EN_CLSS_GEO_LAYER nLayer, out EN_CLSS_ON_OFF nPassThrough, out EN_CLSS_ON_OFF nFirst, out int nColor, out GETechData pTechData, out string pDxfLayer)
 {
     nGeoType     = GeoType;
     nID          = ID;
     nLayer       = Layer;
     nPassThrough = PassThrough;
     nFirst       = First;
     nColor       = Color;
     pTechData    = TechData;
     pDxfLayer    = DxfLayer;
 }