예제 #1
0
        //--------------------------------------------------------------------------------------------------

        public void Set(Ax1 axis)
        {
            _GeomLine = new Geom_Line(axis);
            _P1       = _P2 = null;

            _Update();
        }
예제 #2
0
        //--------------------------------------------------------------------------------------------------

        public void Set(Pnt p1, Pnt p2)
        {
            _P1       = new Geom_CartesianPoint(p1);
            _P2       = new Geom_CartesianPoint(p2);
            _GeomLine = null;

            Update();
        }
예제 #3
0
        //--------------------------------------------------------------------------------------------------

        public void Set(Geom_CartesianPoint p)
        {
            _P = p;

            if (!_EnsureAisObject())
            {
                return;
            }

            _AisPoint.SetComponent(_P);
            AisContext.Redisplay(_AisPoint, false);
        }
예제 #4
0
        //--------------------------------------------------------------------------------------------------

        public void Set(Pnt p1, Pnt p2)
        {
            if (p1.IsEqual(p2, Double.Epsilon))
            {
                return;
            }

            _P1       = new Geom_CartesianPoint(p1);
            _P2       = new Geom_CartesianPoint(p2);
            _GeomLine = null;

            _Update();
        }
예제 #5
0
 public void SetComponent(Geom_Point aComponent)
 {
     throw new NotImplementedException();
 }
예제 #6
0
 public AIS_Point(Geom_Point aComponent)
     : base()
 {
     throw new NotImplementedException();
 }
예제 #7
0
 public void SetPoints(Geom_Point thePStart, Geom_Point thePEnd)
 {
     throw new NotImplementedException();
 }
예제 #8
0
 public AIS_Line(Geom_Point aStartPoint, Geom_Point aEndPoint)
     : base()
 {
     throw new NotImplementedException();
 }