Show / Hide Table of Contents

    Class Frame

    An element defined by a perimeter and a cross section swept along that perimeter.

    Inheritance
    System.Object
    Element
    GeometricElement
    Frame
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    GeometricElement.Bounds
    GeometricElement.Transform
    GeometricElement.Material
    GeometricElement.Representation
    GeometricElement.IsElementDefinition
    GeometricElement.ModifyVertexAttributes
    GeometricElement.UpdateBoundsAndComputeSolid(Boolean)
    GeometricElement.CreateInstance(Transform, String)
    GeometricElement.ToMesh(Boolean)
    GeometricElement.HasGeometry()
    GeometricElement.Intersects(Plane, Dictionary<Guid, List<Polygon>>, Dictionary<Guid, List<Polygon>>, Dictionary<Guid, List<Line>>)
    GeometricElement.TryToGraphicsBuffers(List<GraphicsBuffers>, String, Nullable<MeshPrimitive.ModeEnum>)
    Element.Id
    Element.Name
    Element.AdditionalProperties
    Element.PropertyChanged
    Element.RaisePropertyChanged(String)
    Element.SetMapping(String, MappingBase)
    Element.GetMapping(String)
    Element.GetMapping<T>(String)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Elements
    Assembly: Hypar.Elements.dll
    Syntax
    public class Frame : GeometricElement, INotifyPropertyChanged

    Constructors

    Frame(Polygon, Profile, Double, Material, Transform, Representation, Boolean, Guid, String)

    Create a frame.

    Declaration
    public Frame(Polygon curve, Profile profile, double offset = 0, Material material = null, Transform transform = null, Representation representation = null, bool isElementDefinition = false, Guid id = default(Guid), string name = null)
    Parameters
    Type Name Description
    Polygon curve

    The frame's perimeter.

    Profile profile

    The frame's profile.

    System.Double offset

    The amount which the perimeter will be offset internally.

    Material material

    The frame's material.

    Transform transform

    The frame's transform.

    Representation representation

    The frame's representation.

    System.Boolean isElementDefinition

    Is this an element definition?

    System.Guid id

    The id of the frame.

    System.String name

    The name of the frame.

    Properties

    Curve

    The perimeter of the frame.

    Declaration
    public BoundedCurve Curve { get; set; }
    Property Value
    Type Description
    BoundedCurve

    Profile

    The frame's profile.

    Declaration
    public Profile Profile { get; set; }
    Property Value
    Type Description
    Profile

    Methods

    UpdateRepresentations()

    Update representations.

    Declaration
    public override void UpdateRepresentations()
    Overrides
    GeometricElement.UpdateRepresentations()

    Implements

    System.ComponentModel.INotifyPropertyChanged

    Extension Methods

    ElementProxyExtensions.Proxy<T>(T, String)
    Identity.AddOverrideIdentity(Element, IOverride)
    Identity.AddOverrideIdentity(Element, String, String, Object)
    Identity.AddOverrideValue(Element, String, Object)
    Identity.OverrideIds<T>(Element, String)