Install PyG
Get Started
Tutorials
Advanced Concepts
Package Reference
Cheatsheets
External Resources
Bases: BaseTransform
BaseTransform
Uniformly samples a fixed number of points on the mesh faces according to their face area (functional name: sample_points).
sample_points
num (int) – The number of points to sample.
remove_faces (bool, optional) – If set to False, the face tensor will not be removed. (default: True)
False
True
include_normals (bool, optional) – If set to True, then compute normals for each sampled point. (default: False)