C# 클래스 Estimator.EstimatorHelpers

파일 보기 프로젝트 열기: mcneel/Rhino4Samples_DotNet 1 사용 예제들

공개 메소드들

메소드 설명
AddData ( IRhinoObject obj, string string_datum ) : bool

Adds a single string datum to an object's attribute user string data.

GetArea ( IRhinoObject obj, double tol ) : double

Calculates the area of an object

GetData ( IRhinoObject obj, string &string_array ) : int

Low level function to get an array of string data from an object's attribute user string data.

GetKey ( ) : string

Returns the string key to use when accessing an object's attribute user string data.

GetLength ( IRhinoObject obj ) : double

Calculates the length of an object

GetVolume ( IRhinoObject obj ) : double

Calculates the volume of an object

RemoveAllData ( IRhinoObject obj ) : bool

Removes all string data object's attribute user string data.

RemoveData ( IRhinoObject obj, string string_datum ) : bool

Removes a single string datum from an object's attribute user string data.

SetData ( IRhinoObject obj, string string_array ) : bool

Low level function to set an array of string data to an object's attribute user string data.

비공개 메소드들

메소드 설명
GetBrepArea ( IOnBrep brep ) : double
GetBrepVolume ( IOnBrep brep ) : double
GetCurveArea ( IOnCurve crv, double tol ) : double
GetMeshArea ( IOnMesh mesh ) : double
GetMeshVolume ( IOnMesh mesh ) : double
GetSurfaceArea ( IOnSurface srf ) : double
GetSurfaceVolume ( IOnSurface srf ) : double

메소드 상세

AddData() 공개 정적인 메소드

Adds a single string datum to an object's attribute user string data.
public static AddData ( IRhinoObject obj, string string_datum ) : bool
obj IRhinoObject
string_datum string
리턴 bool

GetArea() 공개 정적인 메소드

Calculates the area of an object
public static GetArea ( IRhinoObject obj, double tol ) : double
obj IRhinoObject
tol double
리턴 double

GetData() 공개 정적인 메소드

Low level function to get an array of string data from an object's attribute user string data.
public static GetData ( IRhinoObject obj, string &string_array ) : int
obj IRhinoObject
string_array string
리턴 int

GetKey() 공개 정적인 메소드

Returns the string key to use when accessing an object's attribute user string data.
public static GetKey ( ) : string
리턴 string

GetLength() 공개 정적인 메소드

Calculates the length of an object
public static GetLength ( IRhinoObject obj ) : double
obj IRhinoObject
리턴 double

GetVolume() 공개 정적인 메소드

Calculates the volume of an object
public static GetVolume ( IRhinoObject obj ) : double
obj IRhinoObject
리턴 double

RemoveAllData() 공개 정적인 메소드

Removes all string data object's attribute user string data.
public static RemoveAllData ( IRhinoObject obj ) : bool
obj IRhinoObject
리턴 bool

RemoveData() 공개 정적인 메소드

Removes a single string datum from an object's attribute user string data.
public static RemoveData ( IRhinoObject obj, string string_datum ) : bool
obj IRhinoObject
string_datum string
리턴 bool

SetData() 공개 정적인 메소드

Low level function to set an array of string data to an object's attribute user string data.
public static SetData ( IRhinoObject obj, string string_array ) : bool
obj IRhinoObject
string_array string
리턴 bool