tfg.geometry.representation.mesh.normals.gather_faces
Stay organized with collections
Save and categorize content based on your preferences.
Gather corresponding vertices for each face.
tfg.geometry.representation.mesh.normals.gather_faces(
vertices: type_alias.TensorLike,
indices: type_alias.TensorLike,
name: str = 'normals_gather_faces'
) -> type_alias.TensorLike
Note |
In the following, A1 to An are optional batch dimensions.
|
Args |
vertices
|
A tensor of shape [A1, ..., An, V, D] , where V is the number
of vertices and D the dimensionality of each vertex. The rank of this
tensor should be at least 2.
|
indices
|
A tensor of shape [A1, ..., An, F, M] , where F is the number of
faces, and M is the number of vertices per face. The rank of this tensor
should be at least 2.
|
name
|
A name for this op. Defaults to "normals_gather_faces".
|
Returns |
A tensor of shape [A1, ..., An, F, M, D] containing the vertices of each
face.
|
Raises |
ValueError
|
If the shape of vertices or indices is not supported.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-10-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-10-28 UTC."],[],[]]