Skip to content

Command for Processing Centroid Coordinates #854

Closed Answered by rquey
JadeUoM asked this question in Q&A
Discussion options

You must be logged in to vote

A seed is a point from which a cell is generated. A centroid is the geometrical center a the cell. They don't coincide.

The command

$ neper -T -domain "cube(10, 10, 10)" -n "from_morpho" -morpho "centroid:file(Centroid.txt)" -format "tess,ori,stl" -o Case1

seeks for the seed parameters such that the cell centroids match the specified centroids.

The command

$  neper -T -domain "cube(10, 10, 10)" -n "15" -morphooptiini "coo:file(Centroid.txt),weight:0" -format "tess,ori,stl" -o Case2

uses the cell centroids as seed coordinates. The two may be close but do not exactly match.

Approach 2 is the standard way of doing it and give approximate results. Approach 1 will give exact results. Note th…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JadeUoM
Comment options

Answer selected by rquey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants