public IPointInstance AddVertex(Vector3 position, Color4ub color)
        {
            var instance = new PointInstance(this);

            instance.P = position;
            instance.Color = color;

            lock (m_instances)
            {
                m_instances.Add(instance);
            }

            return instance;
        }
        public IPointInstance AddVertex(Vector3 position, Color4ub color)
        {
            var instance = new PointInstance(this);

            instance.P     = position;
            instance.Color = color;

            lock (m_instances)
            {
                m_instances.Add(instance);
            }

            return(instance);
        }
示例#3
0
 private void InternalTransformBy(Matrix matrix)
 {
     PointInstance.TransformBy(matrix);
 }
示例#4
0
 private void InternalPutPointData(ref double[] coords)
 {
     PointInstance.PutPointData(ref coords);
 }
示例#5
0
 private bool InternalIsEqualTo(Point point, double tolerance)
 {
     return(PointInstance.IsEqualTo(point.ToPoint(), tolerance));
 }
示例#6
0
 private double InternalDistanceTo(Point point)
 {
     return(PointInstance.DistanceTo(point.ToPoint()));
 }
示例#7
0
 private Point InternalCopy()
 {
     return(PointInstance.Copy().ToPoint());
 }