AddCustom3PointAngle
Overloads
AddCustom3PointAngle(Vertex3D basePosition, Vertex3D position1, Vertex3D position2)
public int AddCustom3PointAngle(Vertex3D basePosition, Vertex3D position1, Vertex3D position2)
[사용자 정의] 3점 각도 측정 추가
Parameters
| Name | Type | Description |
|---|---|---|
| basePosition | Vertex3D | 중심점(원점) |
| position1 | Vertex3D | 위치 1 |
| position2 | Vertex3D | 위치 2 |
Returns
| Type | Description |
|---|---|
| int | 측정(리뷰) 아이디(ID) |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
// 원점
VIZCore3D.NET.Data.Vertex3D BasePosition =
new VIZCore3D.NET.Data.Vertex3D(123951, 1256, 2018);
// 측정포인트 1
VIZCore3D.NET.Data.Vertex3D Position1 =
new VIZCore3D.NET.Data.Vertex3D(143951, 1056, 2018);
// 측정포인트 2
VIZCore3D.NET.Data.Vertex3D Position2 =
new VIZCore3D.NET.Data.Vertex3D(163951, 1256, 2018);
int id = vizcore3d.Review.Measure.AddCustom3PointAngle(
BasePosition /* 원점 */
, Position1 /* 측정포인트 1 */
, Position2 /* 측정포인트 2 */
);
}
AddCustom3PointAngle(Vertex3D basePosition, Vertex3D position1, Vertex3D position2, float offsetValue, int textHeight, Color textColor, Color backgroundColor, int decimalPoint)
public int AddCustom3PointAngle(Vertex3D basePosition, Vertex3D position1, Vertex3D position2, float offsetValue, int textHeight, Color textColor, Color backgroundColor, int decimalPoint)
[사용자 정의] 3점 각도 측정 추가
Parameters
| Name | Type | Description |
|---|---|---|
| basePosition | Vertex3D | 중심점(원점) |
| position1 | Vertex3D | 위치 1 |
| position2 | Vertex3D | 위치 2 |
| offsetValue | float | 표시 Offset |
| textHeight | int | 텍스트 높이(0~5) |
| textColor | Color | 텍스트 색상 |
| backgroundColor | Color | 배경 색상 |
| decimalPoint | int | 소수점 이하 표시 개수 |
Returns
| Type | Description |
|---|---|
| int | 측정(리뷰) 아이디(ID) |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
// 원점
VIZCore3D.NET.Data.Vertex3D BasePosition =
new VIZCore3D.NET.Data.Vertex3D(123951, 1256, 2018);
// 측정포인트 1
VIZCore3D.NET.Data.Vertex3D Position1 =
new VIZCore3D.NET.Data.Vertex3D(143951, 1056, 2018);
// 측정포인트 2
VIZCore3D.NET.Data.Vertex3D Position2 =
new VIZCore3D.NET.Data.Vertex3D(163951, 1256, 2018);
int id = vizcore3d.Review.Measure.AddCustom3PointAngle(
BasePosition /* 원점 */
, Position1 /* 측정포인트 1 */
, Position2 /* 측정포인트 2 */
, 100f /* 측정 표시 Offset */
, 3 /* 글자 크기 (0~5) */
, System.Drawing.Color.Blue /* 글자색 */
, System.Drawing.Color.Wheat /* 배경색 */
, 2 /* 소수점 이하 표시 개수 */
);
}