public class GH_PointCloud : GH_GeometricGoo<PointCloud>, IGH_BakeAwareData, IGH_PreviewData, IGH_GeometricGoo
Represents a point cloud.
Constructors
GH_PointCloud
#public GH_PointCloud(GH_PointCloud other)
Create a duplicate of another GH_PointCloud. This constructor also copies reference data.
Parameters:
| other (GH_PointCloud) | Curve to duplicate |
GH_PointCloud
#Create a new referenced curve that references a Rhino curve object with the specified ID.
Parameters:
| ref_guid (Guid) | ID of point-cloud object to reference. |
GH_PointCloud
#Create a duplicate of an existing point-cloud.
Parameters:
| pointCloud (PointCloud) | point-cloud to duplicate |
Fields
m_value
protected T m_value
Properties
IsGeometryLoaded
#Gets the load state of this curve object. The curve is considered to be loaded when the local OnCurve instance is not null.
Overrides: GH_GeometricGoo<T>.IsGeometryLoaded
IsReferencedGeometry
Gets a value indicating whether or not this geometry is referenced. Not all IGH_GeometricGoo implementations support referenced geometry.
Implements: IsReferencedGeometry
IsValid
#Gets the validity of this curve. If the curve is referenced but cannot be loaded, the curve is not valid.
Overrides: GH_GeometricGoo<T>.IsValid
IsValidWhyNot
#Gets a string describing the state of "invalidness". If the instance is valid, then this property should return Nothing or String.Empty.
Overrides: GH_Goo<T>.IsValidWhyNot
Methods
BakeGeometry
#Parameters:
| doc (RhinoDoc) | |
| att (ObjectAttributes) | |
| obj_guid (ref Guid) |
Implements: BakeGeometry
CastFrom
#Remote to Local caster function. This stuff is complex, don't concern yourself with casting logic.
Parameters:
| source (object) |
Overrides: GH_GeometricGoo<T>.CastFrom
Remarks: If false, the target instance contents are not guaranteed to be valid.
Parameters:
| target (ref Q) | Pointer to target of cast. |
Returns: True on success, false on failure.
Implements: CastTo
CastTo<T>
#Local to Remote caster function. This stuff is complex, don't concern yourself with casting logic.
Parameters:
| target (ref T) |
Overrides: GH_GeometricGoo<T>.CastTo
ClearCaches
#public override void ClearCaches()
Clears all volatile caches for this instance. The boundingbox is cleared, and if the curve is referenced, the local instance of the curve is erased.
Overrides: GH_GeometricGoo<T>.ClearCaches
LoadGeometry
#If the geometry is referenced and not yet loaded, attempts to load the geometry.
Returns: True if the geometry is loaded (or if it was already loaded), False on failure.
Overrides: GH_GeometricGoo<T>.LoadGeometry
LoadGeometry
#If the curve is referenced and not yet loaded, attempts to load the curve.
Parameters:
| doc (RhinoDoc) |
Returns: True if the pointcloud is loaded (or if it was already loaded), False on failure.
Overrides: GH_GeometricGoo<T>.LoadGeometry