Constructors

GH_Point

#
public GH_Point()

GH_Point

#
public GH_Point(GH_Point iOther)
iOther (GH_Point)

GH_Point

#
public GH_Point(Guid rh_obj_id)
rh_obj_id (Guid)

GH_Point

#
public GH_Point(Point3d pt)
pt (Point3d)

Properties

Boundingbox

#
public BoundingBox Boundingbox { get; }
Boundingbox

ClippingBox

#
public BoundingBox ClippingBox { get; }
ClippingBox

IsGeometryLoaded

#
public bool IsGeometryLoaded { get; }
IsGeometryLoaded

IsReferencedGeometry

#
public bool IsReferencedGeometry { get; }

IsValid

#
public bool IsValid { get; }
IsValid

IsValidWhyNot

#
public string IsValidWhyNot { get; }
Gets a string describing the state of "invalidness". If the instance is valid, then this property should return Nothing or String.Empty.
IsValidWhyNot

QC_Type

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public GH_QuickCastType QC_Type { get; }
QC_Type

ReferenceData

#
public GH_PointRefData ReferenceData { get; set; }
Gets or sets the reference data of this point geometry.
Remarks: Reference data can be Null

ReferenceID

#
public Guid ReferenceID { get; set; }
ReferenceID

TypeDescription

#
public string TypeDescription { get; }
TypeDescription

TypeName

#
public string TypeName { get; }
TypeName

Value

#
public Point3d Value { get; set; }

Methods

BakeGeometry

#
public bool BakeGeometry(RhinoDoc doc, ObjectAttributes att, ref Guid obj_guid)
doc (RhinoDoc)
att (ObjectAttributes)
obj_guid (ref Guid)
BakeGeometry

CastFrom

#
public bool CastFrom(object source)
source (object)
CastFrom

CastTo<T>

#
public bool CastTo<T>(ref T target)
target (ref T)
CastTo

ClearCaches

#
public void ClearCaches()
ClearCaches

CreateFromCoordinate

#
public void CreateFromCoordinate(Point3d pt)
Create a new point geometry instance based on a fixed coordinate
Remarks: This 'constructor' merely sets fields, it doesn't load the geometry and it doesn't perform validity checking.
pt (Point3d)The coordinate for the point

CreateFromCurveDistance

#
public void CreateFromCurveDistance(Guid crv_id, Curve crv, double t, bool bFromStart)
Create new point geometry instance based on a curve distance parameter
Remarks: This 'constructor' merely sets fields, it doesn't load the geometry and it doesn't perform validity checking.
crv_id (Guid)ID of the curve this object references
crv (Curve)The curve to act on
t (double)Parameter on the curve that controls the distance measurement
bFromStart (bool)True if the distance is to be measured from the start of the curve

CreateFromCurveRatio

#
public void CreateFromCurveRatio(Guid crv_id, Curve crv, double t)
Create new point geometry instance based on a curve parameter ratio
Remarks: This 'constructor' merely sets fields, it doesn't load the geometry and it doesn't perform validity checking.
crv_id (Guid)ID of the curve this object references
crv (Curve)
t (double)Parameter on curve in domain space

CreateFromEdgeDistance

#
public void CreateFromEdgeDistance(Guid brp_id, Curve edge, int e_index, double t, bool bFromStart)
Create new point geometry instance based on a curve distance parameter
Remarks: This 'constructor' merely sets fields, it doesn't load the geometry and it doesn't perform validity checking.
brp_id (Guid)ID of the curve this object references
edge (Curve)The edge curve
e_index (int)Index of edge to reference
t (double)Parameter along the curve in curve domain space
bFromStart (bool)True if the distance is to be measured from the start of the curve

CreateFromEdgeRatio

#
public void CreateFromEdgeRatio(Guid brp_id, Curve edge, int e_index, double t)
Create new point geometry instance based on an edge parameter ratio
Remarks: This 'constructor' merely sets fields, it doesn't load the geometry and it doesn't perform validity checking.
brp_id (Guid)ID of the brep this object references
edge (Curve)The edge curve
e_index (int)Index of edge to reference
t (double)Parameter on edge in edge domain space

CreateFromPointObject

#
public void CreateFromPointObject(Guid id)
Create a new point geometry instance based on point object ID. Technically this now also accepts Dot object IDs.
Remarks: This 'constructor' merely sets fields, it doesn't load the geometry and it doesn't perform validity checking.
id (Guid)The identifier of the point object

CreateFromSurfaceParam

#
public void CreateFromSurfaceParam(Guid brp_id, int f_index, Surface srf, double u, double v)
Create new point geometry instance based on a curve distance parameter
Remarks: This 'constructor' merely sets fields, it doesn't load the geometry and it doesn't perform validity checking.
brp_id (Guid)ID of the curve this object references
f_index (int)Index of edge to reference
srf (Surface)Surface to work on
u (double)Parameter in surface U direction
v (double)Parameter in surface V direction

DrawViewportMeshes

#
public void DrawViewportMeshes(GH_PreviewMeshArgs args)
args (GH_PreviewMeshArgs)
DrawViewportMeshes

DrawViewportWires

#
public void DrawViewportWires(GH_PreviewWireArgs args)
args (GH_PreviewWireArgs)
DrawViewportWires

Duplicate

#
public IGH_Goo Duplicate()
Duplicate

DuplicateGeometry

#
public IGH_GeometricGoo DuplicateGeometry()
DuplicateGeometry

DuplicatePoint

#
public GH_Point DuplicatePoint()

EmitProxy

#
public IGH_GooProxy EmitProxy()
EmitProxy

EnsureReferenceData

#
public void EnsureReferenceData()
Creates new Reference data if it doesn't already exists

GetBoundingBox

#
public BoundingBox GetBoundingBox(Transform xform)
xform (Transform)
GetBoundingBox

LoadGeometry

#
public bool LoadGeometry()
LoadGeometry

LoadGeometry

#
public bool LoadGeometry(RhinoDoc doc)
doc (RhinoDoc)
LoadGeometry

Morph

#
public IGH_GeometricGoo Morph(SpaceMorph xmorph)
xmorph (SpaceMorph)
Morph

QC_Bool

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public bool QC_Bool()
QC_Bool

QC_Col

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public Color QC_Col()
QC_Col

QC_CompareTo

#
public int QC_CompareTo(IGH_QuickCast other)
other (IGH_QuickCast)
QC_CompareTo

QC_Complex

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public Complex QC_Complex()
QC_Complex

QC_Distance

#
public double QC_Distance(IGH_QuickCast other)
other (IGH_QuickCast)
QC_Distance

QC_Hash

#
public int QC_Hash()
QC_Hash

QC_Int

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public int QC_Int()
QC_Int

QC_Interval

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public Interval QC_Interval()
QC_Interval

QC_Matrix

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public Matrix QC_Matrix()
QC_Matrix

QC_Num

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public double QC_Num()
QC_Num

QC_Pt

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public Point3d QC_Pt()
QC_Pt

QC_Text

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public string QC_Text()
QC_Text

QC_Vec

#
[Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public Vector3d QC_Vec()
QC_Vec

Read

#
public bool Read(GH_IReader reader)
reader (GH_IReader)
Read

ReferenceCurve

#
public Curve ReferenceCurve()

ReferenceCurve

#
public Curve ReferenceCurve(RhinoObject ref)
ref (RhinoObject)

ReferenceIndex

#
public int ReferenceIndex()
Retrieve the index of the point reference data.
Remarks: If there exists no reference data, -1 is returned.
The index of the reference data. This index describes the sub-object of the reference.

ReferenceIndex

#
public void ReferenceIndex(int new_index)
Sets the index of the point reference data.
Remarks: If there is no reference data, this function will create a new instance.
new_index (int)The index to set. This index describes the sub-object of the reference.

ReferenceParam

#
public double ReferenceParam(int index)
Retrieve the indexed param of the point reference data.
Remarks: If there exists no reference data, NaN is returned.
index (int)Index of parameter. Only 0 and 1 are valid values.
The indexed param of the reference data.

ReferenceParam

#
public void ReferenceParam(int index, double new_param)
Sets the index of the point reference data.
Remarks: If there is no reference data, this function will create a new instance.
index (int)The index of the parameter. Only 0 and 1 are valid values.
new_param (double)The new value of the parameter

ReferencesCurve

#
public bool ReferencesCurve()
Returns true if this point is based on a curve reference

ReferencesEdge

#
public bool ReferencesEdge()
Returns True if this point is based on an edge reference

ReferenceSurface

#
public BrepFace ReferenceSurface()

ReferenceType

#
public GH_PointRefType ReferenceType()
Retrieve the reference type of this point object.
The reference type as specified by the Reference Data. If there is no reference data, either Unset or Coordinate is returned depending on whether m_Point is a null reference.

ReferenceType

#
public void ReferenceType(GH_PointRefType new_type)
Sets the type of the point reference data.
Remarks: If there is no reference data, this function will create a new instance.
new_type (GH_PointRefType)The new type, if type = Coordinate or Unset, then the Reference data will be erased.

ScriptVariable

#
public object ScriptVariable()
ScriptVariable

SetReferenceParams

#
public void SetReferenceParams(double u, double v)
Sets both param values of the point reference
Remarks: If there is no reference data, this function will create a new instance.
u (double)The new u parameter
v (double)The new v parameter

ShowReferenceDialog

#
public DialogResult ShowReferenceDialog()

ShowReferenceDialog

#
public DialogResult ShowReferenceDialog(IWin32Window owner)
owner (IWin32Window)

ToString

#
public override string ToString()
Object.ToString
ToString

Transform

#
public IGH_GeometricGoo Transform(Transform xform)
xform (Transform)
Transform

Write

#
public bool Write(GH_IWriter writer)
writer (GH_IWriter)
Write