Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#7831 closed enhancement (fixed)

Make measure center command work on surfaces

Reported by: Tom Goddard Owned by: Tom Goddard
Priority: moderate Milestone:
Component: Surface Version:
Keywords: Cc: Elaine Meng
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Have measure center report the area weighted center of surfaces. Currently "measure center" only works on volumes and atoms.

Change History (3)

comment:1 by Tom Goddard, 3 years ago

Resolution: fixed
Status: assignedclosed

Done.

in reply to:  2 ; comment:2 by Elaine Meng, 3 years ago

Is the following correct for "measure center" of a surface (copied from "measure inertia" details)? 

The approach for surfaces is analogous, where atoms are replaced by vertices of the triangulated surface, and the “mass” of each vertex is ⅓ of the area of the attached triangle. This treats the surface as a thin shell.


in reply to:  3 ; comment:3 by Tom Goddard, 3 years ago

Yes, that is correct, although best to say each vertex position is weighted by the sum of 1/3 triangle areas for all attached triangles.
Note: See TracTickets for help on using tickets.