getting vertices of patch object after rotation .
    8 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    yogesh jain
 am 28 Dez. 2015
  
    
    
    
    
    Kommentiert: Brendan Hamm
    
 am 28 Dez. 2015
            Hello all , I am inserting a patch object and then rotating it about some angle . How can I get vertices of patch object after rotation ? thank you
0 Kommentare
Akzeptierte Antwort
  Brendan Hamm
    
 am 28 Dez. 2015
        p = patch([0 0 0.1 0.1],[0 0.2 0.2 0],'b')
p.Vertices
or
p.XData
p.YData
Although I'm not sure how you are rotating it without passing to the XData, YData, or Vertices properties.
The old way (prior to 2014b):
myVerts = get(p,'Vertices');
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Polygons finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


