Search Results for

    Show / Hide Table of Contents

    Class RFace

    辺の集合

    Inheritance
    System.Object
    ARnPartsBase
    ARnParts<RFace>
    RFace
    Inherited Members
    ARnPartsBase.DebugMyId
    ARnPartsBase.DebugMemo
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: PLATEAU.RoadNetwork.Graph
    Assembly: cs.temp.dll.dll
    Syntax
    public class RFace : ARnParts<RFace>

    Constructors

    RFace(RGraph, PLATEAUCityObjectGroup, RnCityObjectGroupKey, RRoadTypeMask, Int32)

    Declaration
    public RFace(RGraph graph, PLATEAUCityObjectGroup cityObjectGroup, RnCityObjectGroupKey primaryCityObjectGroupKey, RRoadTypeMask roadType, int lodLevel)
    Parameters
    Type Name Description
    RGraph graph
    PLATEAUCityObjectGroup cityObjectGroup
    RnCityObjectGroupKey primaryCityObjectGroupKey
    RRoadTypeMask roadType
    System.Int32 lodLevel

    Properties

    CityObjectGroup

    元のメッシュが所属していたPLATEAUCityObjectGroup

    Declaration
    public PLATEAUCityObjectGroup CityObjectGroup { get; }
    Property Value
    Type Description
    PLATEAUCityObjectGroup

    Edges

    構成辺

    Declaration
    public IReadOnlyCollection<REdge> Edges { get; }
    Property Value
    Type Description
    IReadOnlyCollection<REdge>

    Graph

    接続面

    Declaration
    public RGraph Graph { get; }
    Property Value
    Type Description
    RGraph

    IsValid

    Declaration
    public bool IsValid { get; }
    Property Value
    Type Description
    System.Boolean

    LodLevel

    LodLevel

    Declaration
    public int LodLevel { get; set; }
    Property Value
    Type Description
    System.Int32

    PrimaryCityObjectGroupKey

    対応する主要地物の道路モデルを表すキー

    Declaration
    public RnCityObjectGroupKey PrimaryCityObjectGroupKey { get; }
    Property Value
    Type Description
    RnCityObjectGroupKey

    RoadTypes

    道路タイプ

    Declaration
    public RRoadTypeMask RoadTypes { get; set; }
    Property Value
    Type Description
    RRoadTypeMask

    Methods

    AddEdge(REdge)

    辺追加

    Declaration
    public void AddEdge(REdge edge)
    Parameters
    Type Name Description
    REdge edge

    ChangeEdge(REdge, REdge)

    辺の変更

    Declaration
    public void ChangeEdge(REdge from, REdge to)
    Parameters
    Type Name Description
    REdge from
    REdge to

    DisConnect()

    自分の接続を解除する

    Declaration
    public void DisConnect()

    IsSameEdges(RFace)

    同じEdgeで構成されているかどうか

    Declaration
    public bool IsSameEdges(RFace other)
    Parameters
    Type Name Description
    RFace other
    Returns
    Type Description
    System.Boolean

    RemoveEdge(REdge)

    辺削除

    Declaration
    public void RemoveEdge(REdge edge)
    Parameters
    Type Name Description
    REdge edge

    RemoveGraph(RGraph)

    親グラフ削除

    Declaration
    public void RemoveGraph(RGraph g)
    Parameters
    Type Name Description
    RGraph g

    SetGraph(RGraph)

    親グラフ差し替え

    Declaration
    public void SetGraph(RGraph g)
    Parameters
    Type Name Description
    RGraph g

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    TryMergeTo(RFace)

    基本呼び出し禁止. 自身をdstにマージする. CityObjectGroupが異なる場合はマージできない. moveEdge = falseの時は自身のEdgesは移動しない.

    Declaration
    public bool TryMergeTo(RFace dst)
    Parameters
    Type Name Description
    RFace dst
    Returns
    Type Description
    System.Boolean
    In This Article
    Back to top PLATEAU SDK for Unity